Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to output <%BLOCKMENTIONS %> Results as headings? #109

Closed
harnerdesigns opened this issue Nov 19, 2023 · 1 comment
Closed

Possible to output <%BLOCKMENTIONS %> Results as headings? #109

harnerdesigns opened this issue Nov 19, 2023 · 1 comment

Comments

@harnerdesigns
Copy link

Per the title, is it possible to output the results of things that get templated as headings?

If I set the template to ## {name} it directly outputs the two hashtags. If I set up the SmartBlock and the actual <%BLOCKMENTIONS %> block as a Heading it only outputs the First result as a heading:

image

- #SmartBlock Client List
    - ## <%BLOCKMENTIONS:100,client,{page}%>

image

I didn't see anything in the docs mentioning it, so I'm hopeful I missed something or there's someway to make this work.

Thanks in Advance!

@mdroidian
Copy link
Collaborator

Thank you for reporting this with such detail @harnerdesigns

I don't believe there is a current way to make this work.
But I have a solution for this that will return all BLOCKMENTIONS with the same block styling as the <%BLOCKMENTIONS%> block.

EG:

- #SmartBlock Client List
    - ## <%BLOCKMENTIONS:100,client,{page}%>

Would now return each block as a header 2

Will likely review these changes tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants