JSX + Markdown

# General

General Chatter

Trending conversations
Should literal <h1> be contained in a <p>
@sscotth · 5d
Charge - new SSG that accepts mdx
@bz · 3d
How do I install a remark plugin in Parcel
@leifriksheim · 6d
Traversing MDX components
@aroncarroll · 7d
How do I add plugins top gatsby-mdx?
@jesse-graphcms · 14d

Inline JSX in MDX?

January 21, 2019 at 11:46am

I found this PR that adds support for inline JSX in MDX. Here are code samples. It's exactly what I've been hoping for!

But the PR is in the remark-mdx package, which isn't published to npm. Does anybody know what the plan is for the remark-mdx package? Will it eventually be published to npm and/or used in the mdx-js/mdx package?

I guess my real question is... when will I be able to actually use this awesome new functionality in my MDX?

March 11, 2019 at 5:03pm

@jamesmessinger improved inline JSX parsing is a feature that will be in 1.0 You can try it out in the 1.0 alpha releases now and in the stable 1.0 release when it becomes available.

  • reply
  • like

March 12, 2019 at 11:43am

Awesome! Thanks for the update @christian-murphy. I'm super excited about the 1.0 release 🤩

  • reply
  • like