Fornax
Fornax copied to clipboard
Does Fornax Support Shortcodes for Markdown?
Hi,
I'd like to ask if Fornax has some functionality akin to Hugo's shortcode system (https://gohugo.io/content-management/shortcodes/)?
These are snippets placed inside Markdown to call a custom function that outputs HTML. This way you can add anything to your Markdown sections and e.g. turn a normal image into an adaptive image using srset
and different image sizes.
Cheers,
Stefan
Is this the right place to ask these questions, or is there another preferred channel for this?
I'd like to dive a little deeper into Fornax, but certainly don't want to pollute the issue tracker along the way.
Explicitly, no, although I don't think it would be terribly difficult to write a helper function to parse short codes as part of a generator.
I'm curious to try that out.
Thanks, that's what I thought, but I wanted to make sure I hadn't overlooked anything.
I like the simplicity of Fornax that allows me to concentrate on the task at hand instead of having to learn several levels of abstractions first.