-
I want to make 'lexer' MDX for CudaText editor. I can clone the JSX syntax and I can add 'sub lexer' rules to include Markdown syntax for any ranges. But I don't know how to define Markdown ranges. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Welcome @Alexey-T! If you are looking for inspiration on how to create syntax highlights for MDX, take a look at https://github.com/wooorm/markdown-tm-language
MDX is JSX inside of Markdown, not the other way around. |
Beta Was this translation helpful? Give feedback.
Do you me a jsx? Which is tag stuff. Or do you mean the import and export statements? If the latter, that's a third extension indeed.
You can find more on what mdx is. In all the preceding links, or on the website.