Skip to content

Custom syntax for smaller font #1077

Answered by ChristianMurphy
ottovw asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/micromark/micromark#extending-markdown

Offers advise.
The general recommendation is don't create yet another flavor of markdown if you don't need to.

https://github.com/remarkjs/remark-directive would likely better suit most people's need, potentially including yours, as it is semi-standard.

If you do choose to take on creating new syntax anyway. https://github.com/micromark/micromark#creating-a-micromark-extension introduces how to create a syntax extension.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ottovw
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