Markdoc Format

Markdoc format is the format used when pages are synced on DeveloperHub using GitHub Sync. Markdoc is markdown-based authoring framework for writing documentation.

Frontmatter Syntax

Every page has a frontmatter header, such as this one:

Frontmatter
Copy

Markdoc Syntax

Markdoc is a superset of Markdown, so you can still write Markdown as you usually do, including the following nodes:

Markdown
Copy

In addition to Markdown, we provide tags and attributes for all blocks and inline blocks.

Blocks have the following syntax:

Markdown
Copy

While inline blocks have the following syntax:

Markdown
Copy

The syntax is shown below for every block with an example:

Code Block

Markdown
Copy

Images

Markdown
Copy

Tables

Markdown
Copy

Callouts

Markdown
Copy

Videos

Markdown
Copy

Synced Blocks

Markdown
Copy

Custom HTML

Markdown
Copy

Tabs

Markdown
Copy

GitHub Code

Markdown
Copy

Index List

Markdown
Copy

Inline Blocks

Markdown
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Zaid Daba'een