You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can already create a custom variable to pass information along to the templates if you want. Here's an example of a custom variable, custom parser and a custom template that would solve this.
As an aside: the @markup variable/implementation will be changing soon (and it will actually be using a similar format to what you mocked out). The plan is to support HTML, Markdown and Jade as default markup formats instead of just HTML (like we do right now).
Further thought... this is definitely a custom parser situation. I'm going to write an example of how you can do this sometime over the next week but it is 100% possible to do right now if you took some time to investigate writing one yourself.
I'm trying to use prism and I need the ability to pass a language param to the code
I figured it could work something like this to make it simple.
The text was updated successfully, but these errors were encountered: