-
Hello, import { marked } from 'marked';
const html = marked.parse(importedMarkdownFileFromNode); How should I achieve the same with mdx? I could not find the way to use mdx in a similar way. |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Nov 1, 2022
Replies: 1 comment
-
They are very different. Like switching from React to web components or Vue or so. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They are very different. Like switching from React to web components or Vue or so.
But, read the docs: first three chapters here should give you everything you need: https://mdxjs.com/docs/.