Markdoc
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Teams building documentation sites can now adopt the same Markdown framework Stripe uses internally, avoiding custom tooling as their docs scale beyond plain Markdown.
Stripe has open sourced Markdoc, the tool behind its own documentation site. It lets writers keep using Markdown, the simple formatting language used everywhere online, while adding custom components and logic when pages need them. It is aimed at companies whose documentation has grown to thousands of pages, like Stripe's API guides. People with small personal blogs probably do not need it.
Stripe has released Markdoc under an MIT license, meaning no cost and no restrictions on commercial use. It powers stripe.com/docs, one of the largest documentation sites on the internet, which reduces adoption risk since the architecture is proven at scale. Teams with simple static docs gain little; the tool matters most for engineering teams maintaining large, growing developer-facing documentation.
Markdoc is a JavaScript library, installed via npm as @markdoc/markdoc, that parses Markdown into an abstract syntax tree, applies transformations, and renders the result, typically to React via Markdoc.renderers.react. Custom syntax like {% image src="/logo.svg" /%} embeds components without JSX. TypeScript is first-class, requiring moduleResolution 'node' and esModuleInterop. The article gives no performance benchmarks; rendering to non-React output is possible but undocumented in detail.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.