{"library":"vite-plugin-markdoc","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.4","tags":["javascript","vite","frontmatter","markdown","react","vue","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-markdoc","imports":["import markdoc from 'vite-plugin-markdoc'","import type { RenderableTreeNode } from '@markdoc/markdoc'","import Markdoc from '@markdoc/markdoc'"]},{"cmd":"yarn add vite-plugin-markdoc","imports":[]},{"cmd":"pnpm add vite-plugin-markdoc","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-markdoc","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}