Markdoc: Stripe’s Markdown-based authoring framework

11
[favorite_button]
Markdoc: Stripe’s Markdown-based authoring framework
Advertisements

This is one astonishing module.
From personal blogs to massive documentation sites, Markdoc is a content authoring system that grows with you.

View docs

Try it out

Markdoc is a Markdown-based syntax and toolchain for creating custom documentation sites. Stripe created Markdoc to power our public docs.

Advertisements

Markdoc is open-source—check out its source to see how it works.

How is Markdoc different?Markdoc uses a fully declarative approach to composition and flow control, where other solutions…read more

Next stepsInstall MarkdocExplore the syntaxOpen source Maintain full control over your code and content. Markdoc is open-source and fully extensible.

Developer & writer friendly Markdoc delivers a powerful, flexible, developer experience (DX) with an equally capable authoring experience (AX).

Advertisements

Adopt anywhere Use Markdoc to create interactive documentation experiences, static content sites, authoring tooling, and more.

npm install @markdoc/markdoc
import Markdoc from ‘@markdoc/markdoc’;

const doc=`
# Hello world.
> My first Markdoc page
`;

const ast=Markdoc.parse(doc);

Advertisements

const content=Markdoc.transform(ast);

const html=Markdoc.renderers.html(content);
Markdoc powers Stripe documentation Stripe created Markdoc to power its largest and most detailed content site. Since then, we have adopted it across the company, writing hundreds of thousands of lines of Markdoc to create thousands of pages of expressive, custom documentation.

Familiar syntax

Markdoc is a syntactic extension of Markdown, so you can keep using all the syntax and tooling you are used to.

Advertisements

Learn the syntax

Easily extensible

Markdoc lets you customize all aspects of the system, from custom tags and nodes to entirely new renderers.

Learn more

Advertisements

Built-in validation

You can add custom validation throughout your content system, ensuring nothing breaks and your content remains consistent.

Learn more

Read More
Share this on knowasiak.com to discuss with people on this topicSign Up on Knowasiak.com now if you’re not registered yet.

Advertisements
Advertisements
Charlie
WRITEN BY

Charlie

Fill your life with experiences so you always have a great story to tell
Get Connected!
One of the Biggest Social Platform for Entrepreneurs, College Students and all. Come and join our community. Expand your network and get to know new people!

Discussion(s)

No comments yet
Knowasiak We would like to show you notifications so you don't miss chats & status updates.
Dismiss
Allow Notifications