Stripe 的基于 Markdown 的 Markdoc Markdown 内容创作框架
Markdoc is a powerful Markdown-based authoring framework created by Stripe to power their public documentation. It extends Markdown with custom tags, functions, and variables for building structured documentation sites and content experiences.
Installation
Use the upstream install or setup path that matches your environment:
- npm install @markdoc/markdoc
- yarn add @markdoc/markdoc
- npm install @markdoc/markdoc react @types/react
- Run npm install
Requirements and caveats from upstream:
- const Markdoc = require('@markdoc/markdoc');
- "moduleResolution": "node",
Basic usage or getting-started notes:
To get started with Markdoc, first install the library:
shell
or
Source: https://github.com/1991513ccie-png/skills
Extracted from upstream docs: https://raw.githubusercontent.com/markdoc/markdoc/HEAD/README.md




