-
Hello everyone! I'm trying to move my nextjs blog to remix, the only problem I'm encountering right now is that I currently use markdoc to parse my files and I can't find a way to integrate it in remix. I've read all the mdx stuff in the docs but as far as I understood i'm limited to remark. Does anyone have any idea? (maybe creating a custom remark plugin.. ) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you want to use But you still can roll your own implementation. It's served from .md files on github. |
Beta Was this translation helpful? Give feedback.
If you want to use
.mdx
files as routes you'll probably need to convert your files to be parsable by remark.But you still can roll your own implementation.
I'd recommend checking out the blog implementation of kentcdodds.com for a production reference
It's served from .md files on github.
See route implementation + the underlying markdown handlers mdx.ts and compile-mdx.server.ts ...they still use remark here, but a similar approach will also work with all other sorts of just-in-time content preparation.