-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
💡 RFC: provide hook for custom markdown renderer #239
Comments
Currently we use |
IMO the point of migrating to |
If I understand correctly one use case would be to extend markdown files with custom extensions for e.g. integrating html snippets (for design systems) or to wrap some parts of default markdown with additional markup while rendered, adding footnotes and summaries of links, comments which should not be rendered in html but shall stay in markdown etc..? |
Yep! |
I didn't found this issue and tried to implement one of Remark plugins right in Astro. I think it's a great idea to provide the hook for custom remark plugins. I would like to work on it because I'm in the process of migrating my site to Astro and I need remark-code-titles . I think it's the only thing that stops me from full migration. |
@akellbl4 awesome, definitely let us know if you have any questions! The way |
I've played with source code and written rough implementation.
I would be happy to have any comments on my PR. |
Btw: I’d strongly suggest to also allow rehype plugins. |
via discord
The text was updated successfully, but these errors were encountered: