mdx to md converter? #184
-
i'm looking to generate pdf of one of my blog posts & it seems like i think the only change i would need is converting an so how do i do it? additionally, if i add custom components in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The short answer, you can render the HTML output from MDX directly to PDF (using Chrome, or a wrapper like Playwright or Puppeteer), no need to go through pandoc first. If you really want to go through pandoc, writing an MDX converter still probably doesn't make sense. A few examples to illustrate why:
|
Beta Was this translation helpful? Give feedback.
The short answer, you can render the HTML output from MDX directly to PDF (using Chrome, or a wrapper like Playwright or Puppeteer), no need to go through pandoc first.
If you really want to go through pandoc, writing an MDX converter still probably doesn't make sense.
A few examples to illustrate why: