MDX when plain Markdown is not enough
A short test showing that the blog can also use MDX.
This blog supports both plain Markdown and MDX. That means I can write simple posts quickly, while still having the option to add components if I need something more advanced.
Why it is useful
Most of the time, regular Markdown is enough. But sometimes it is useful to bring in a bit more structure, such as custom components, small fact boxes, or interactive elements later on.
A small example
Below is a simple component used directly inside the content:
Read more about meConclusion
The important thing is not that the site supports MDX. The important thing is that it does not get in the way when I want to publish something. Still, it is good to have the option.