Content in mdx

Gatsby Plugin MDX Components API Design

Gatsby Plugin MDX Components API Design

Currently there's an issue that can pop up with respect to MDX and compatibility with the wider Remark ecosystem. Remark AST transformations… 

Read more...

javascriptgatsbymdx
Accessing Props in MDX

Accessing Props in MDX

When writing MDX, sometimes you want to display more dynamic content than you otherwise would be able to. An MDX file that can be templated… 

Read more...

Components vs AST manipulation in MDX

MDX presents a new paradigm for people currently using remark (or other markdown rendering approaches). When using remark the most common… 

Read more...

How MDX transforms into JSX

MDX is at the core of gatsby-mdx and unified is at the core of MDX... but if you're not immersed in the tech it can be hard to… 

Read more...

Contorting Webpack to Render HTML for Gatsby MDX

Here's the code I was just in the middle of writing when I realized I should stop and try to use webpack . First off, what is this code… 

Read more...

Codeblocks, MDX, and mdx-utils

MDX, and gatsby-mdx specifically, is quite often used by people who are building interactive experiences. Some are design system… 

Read more...

Towards Shortcodes for Gatsby Sites

Many blogging platforms have the concept of shortcodes. This is especially prevalent in the WordPress community and other places like… 

Read more...

Removing Gatsby MDX Wrappers

I just removed generated wrappers from gatsby-mdx's implementation. This removed a sticking point for a lot of people from the API… 

Read more...

MDX Custom Elements

Disclaimer: This is an advanced topic that bends the internals of MDX to our will. It is not how you should be using MDX for everyday… 

Read more...