5 votes

MDX: Markdown for the component era

1 comment

  1. skybrian
    Link
    From the website: Since you can embed JavaScript expressions, it looks like this is suitable for trusted authors (your own blog) but not arbitrary authors (comments in an Internet forum). Here's a...

    From the website:

    MDX allows you to use JSX in your markdown content. You can import components, such as interactive charts or alerts, and embed them within your content.

    Since you can embed JavaScript expressions, it looks like this is suitable for trusted authors (your own blog) but not arbitrary authors (comments in an Internet forum).

    Here's a blog post about using it for a static website.

    6 votes