-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Is your feature request related to a problem? Please describe.
Reasons I think it'd be nice to support a markdown parser other than markdown-it:
- Configuring markdown-it isn't always user-friendly or contributor-friendly. See for example Syntax highlighting and remove <pre> tag markdown-it/markdown-it#269.
- Some of its specific defaults can make some Shiki configurations tricking. See for example using a transformer to add a wrapping element results in extra duplicative nodes shikijs/shiki#811.
Describe the solution you'd like
Reasons remark-rehype could be a good alternative:
- Shiki's rehype plugin is more feature-rich than its markdown-it plugin. Compare https://shiki.style/packages/rehype to https://shiki.style/packages/markdown-it
- Rehype has good plugin developer documentation (markdown-it has very little). See for example Remark vs MarkdownIt benrbray/noteworthy#16
Describe alternatives you've considered
No response
Additional context
Could be a cool v2 addition.
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels