Closed agneym closed 4 years ago
Using mdx.body returns the content that React renders. Returning this to as HTML content to RSS feed readers does not work. See current demo
mdx.body
Instead gatsby-plugin-mdx includes a field named html which is filled only during build.
gatsby-plugin-mdx
html
To see this output on development, you will have to run:
gatsby build && gatsby serve
Hey @agneym thanks for pinging me! I'll give this a spin and merge it if everything seems to work still.
Looks good!
Using
mdx.body
returns the content that React renders. Returning this to as HTML content to RSS feed readers does not work. See current demoInstead
gatsby-plugin-mdx
includes a field namedhtml
which is filled only during build.To see this output on development, you will have to run: