Cannot process
without Compiler
#113
-
I am new to unified and trying to parse some markdown to mdx. Is this the correct way of doing it?
I keep getting "Cannot |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
https://github.com/unifiedjs/unified#description In your example you are parsing markdown, but don't have a compiler to take it back to text. You have some options here.
|
Beta Was this translation helpful? Give feedback.
-
If I need parse and transform (not stringify) do I need to call |
Beta Was this translation helpful? Give feedback.
unified.process()
will try to take text, turn it into an AST, and back into text.https://github.com/unifiedjs/unified#description
In your example you are parsing markdown, but don't have a compiler to take i…