Skip to content
Discussion options

You must be logged in to vote

Modifying the parser crossed a few layers, read through https://unifiedjs.com/learn/
To familiarize yourself with the layers and some common patterns.

To your specific question, see the parser guide in micromark, the lowest level abstraction in the project
https://github.com/micromark/micromark?tab=readme-ov-file#creating-a-micromark-extension

If you're also looking for examples https://github.com/remarkjs/remark/blob/main/doc/plugins.md has tons of existing plugins which may give further ideas on patterns to adopt.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@0E9B061F
Comment options

Answer selected by 0E9B061F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants