Refactors front matter parsing to only use gray-matter, rather than a combination of that and MDX plugins. It makes the front matter accessible within the Markdown by injecting import statements into the generated code, then hooking into esbuild to load the contents.
Refactors front matter parsing to only use
gray-matter
, rather than a combination of that and MDX plugins. It makes the front matter accessible within the Markdown by injectingimport
statements into the generated code, then hooking into esbuild to load the contents.This should add support for
url
references within Markdown front matter, fixing https://github.com/jakelazaroff/radish/issues/5, and also support TOML delimited by+++
.