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

Does Fornax Support Shortcodes for Markdown? #93

Open
bytesource opened this issue Jun 10, 2021 · 3 comments
Open

Does Fornax Support Shortcodes for Markdown? #93

bytesource opened this issue Jun 10, 2021 · 3 comments

Comments

@bytesource
Copy link

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

@bytesource
Copy link
Author

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.

@drewknab
Copy link
Contributor

drewknab commented Jul 1, 2021

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.

@bytesource
Copy link
Author

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.

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