Skip to content

How can I custom syntax? #1000

Closed Answered by Saul-Mirone
By-Ha asked this question in Q&A
May 18, 2023 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Generally you'll need to use a remark plugin to create a node for your syntax, something similar to https://github.com/Milkdown/milkdown/blob/main/packages/plugin-emoji/src/__internal__/remark-twemoji.ts#L39

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@By-Ha
Comment options

@zgrybus
Comment options

Answer selected by By-Ha
Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants