Inspiration

Lack of SSR support for Markdoc from Astro's official integration

What it does

Adds Server Side rendering support for Markdoc

How we built it

Using Astro, Markdoc and grey matter

Challenges we ran into

A lot of annoying bugs related to creating Markdoc Config at buildtime using vite virtual modules

Accomplishments that we're proud of

Can render any Frontend framework's components that are supported by Astro, including but not limited to

  • Astro Components
  • React Components
  • Vue Components
  • Solid Components
  • Lit Web Components
  • Web Components Including SSR and CSR and Hybrid Rendering support ## What we learned Exposure to Vite Virtual modules ## What's next for Markdoc Adding support for new features and components including code-highlighters, and some bug fixes

Built With

  • astro
  • grey-matter
  • markdoc
Share this project:

Updates