Zero automatically converts all .md
files to HTML pages.
Zero also supports MDX. This means you can use JSX in-between your markdown like this:
import Graph from './components/graph'
## Here's a graph
<Graph />
You can also import one markdown (or MDX) into another. Like this:
import License from './license.md'
# Hello, world!
<License />
Zero turns your Markdown into HTML page, you might want to set head tags of this page like <title>
, <meta>
, etc. for improved SEO. Zero has React Helmet set up which you can also use in your .md
and .mdx
files:
import {Helmet} from "react-helmet";
<Helmet>
<meta charset="ISO-8859-1" />
<title>Page Title</title>
<link rel="canonical" href="http://mysite.com/example" />
</Helmet>
# Page Heading
This page has a title and meta tags set.
You can check all the supported tags here.