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

Add setting for adding Markdown extensions #222

Open
daveaglick opened this issue Jan 9, 2022 · 1 comment
Open

Add setting for adding Markdown extensions #222

daveaglick opened this issue Jan 9, 2022 · 1 comment

Comments

@daveaglick
Copy link
Member

Would be cool to add Markdig extensions via a setting. Should be fairly easy - check for the setting inside the template and if it's there, iterate the values and use the class catalog to find the extension and add it.

Once done add a corresponding issue to document, including pointing to the Markdig site/code where you can see available extensions. Also document how to add via bootstrapper and template.

@daveaglick daveaglick transferred this issue from statiqdev/Statiq.Web Jan 9, 2022
@daveaglick
Copy link
Member Author

Ended up implementing this directly in the RenderMarkdown module with a new MarkdownExtensions metadata key that can be set at the document or context (I.e. settings) level.

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

No branches or pull requests

1 participant