You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mdx is a markdown extension, that allows to use React inside md files. React components can be used to replace current approach with macros. As a result we will get much more flexible and customizable tool.
There is only one problem. Looks like mdx requires to add JavaScript in the mix, but I saw there are already go project that mixing in js parts: https://github.com/jxnblk/mdx-go. I'm not a go developer, so I don't know the best way to add mdx support inside go project.
If mdx support goes completely against current vision of mark development can I request another feature? It would be cool allow setting up "compiler" for files so that the mark will delegate md/mdx -> html conversion to some external command. In such way someone like me will be able to replace default md parsing with the custom one.
The text was updated successfully, but these errors were encountered:
SleepWalker
changed the title
🔥 New feature: add support for mdx
New feature: add support for mdx
Aug 12, 2021
SleepWalker
changed the title
New feature: add support for mdx
🔥 New feature: add support for mdx
Aug 12, 2021
I've successfully integrated mdx (react) with mark. There are still some little things to fix but it seems to work! I'm planning to publish my work as a separate package and gradually rewrite it to js
@SleepWalker i think it'd be interesting if you share your mixed go/js version, to see how you've implemented it, which could be helpful for other js based integrations ( like mermaid.js).
Hello,
mdx
is a markdown extension, that allows to use React inside md files. React components can be used to replace current approach with macros. As a result we will get much more flexible and customizable tool.There is only one problem. Looks like mdx requires to add JavaScript in the mix, but I saw there are already go project that mixing in js parts: https://github.com/jxnblk/mdx-go. I'm not a
go
developer, so I don't know the best way to add mdx support inside go project.If mdx support goes completely against current vision of
mark
development can I request another feature? It would be cool allow setting up "compiler" for files so that themark
will delegatemd/mdx -> html
conversion to some external command. In such way someone like me will be able to replace default md parsing with the custom one.The text was updated successfully, but these errors were encountered: