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

Is there any plan to support custom markdown directives? #616

Open
tonyalaribe opened this issue Nov 6, 2022 · 2 comments
Open

Is there any plan to support custom markdown directives? #616

tonyalaribe opened this issue Nov 6, 2022 · 2 comments

Comments

@tonyalaribe
Copy link

I have a usecase where we need to support markdown directives. Is there support for this? Or is it something I could contribute?

This is what I mean:
https://talk.commonmark.org/t/generic-directives-plugins-syntax/444

The idea being that we could define and plug in this new directives into the AST and define custom renderers for it.

@ssokolow
Copy link

ssokolow commented Apr 6, 2023

*nod* I've been working around this by using custom HTML tags and running a second pass over the output using quick-xml, configured to allow unbalanced tags.

@Martin1887
Copy link
Collaborator

In the short term they will not be supported. In the long term I would like to have an interface for pluggable rules from other crates, and this could be implemented in another crate.

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

No branches or pull requests

3 participants