vite-plugin-markdoc

JSON →
library 0.1.4 ·javascript
verified Apr 27, 2026

A Vite plugin that enables importing Markdoc (Stripe's Markdown-based documentation toolchain) files directly as JavaScript modules. Current stable version is 0.1.4, released as a pre-major version with no set release cadence. It uses @markdoc/markdoc under the hood to parse and transform .md files into renderable trees, which can then be rendered with Markdoc's HTML or React renderers. Key differentiators: built specifically for Vite (not Rollup/webpack), supports frontmatter, custom tags/nodes, and provides a first-class TypeScript shim for type-safe imports. Ideal for documentation sites built with Vite + React or Vue.

total hits 10
actors 2 distinct systems
last hit 6d ago human
GPTBot
5
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India