Markdown reference

The Grow SDK uses the Python-Markdown package for its Markdown implementation. You can see John Gruber's Syntax Documentation to learn about Markdown's default syntax rules.

Default extensions

These built-in extensions are enabled by default.

tables

Generates tables. View documentation.

| Header 1 | Header 2
|-|-|
| Row 1 | Content
| Row 2 | Content

toc

Generates a table of contents based on the headings in a document. View documentation.

[​TOC]

Custom extensions

The following extensions are added by Grow and have been enabled.

sourcecode

Implements pygments syntax highlighting for code snippets.

[​sourcecode:html]
<!doctype html>
<meta charset="utf-8">
<title>Hello World!</title>
<p>Source code highlighting.
[​/sourcecode]

The sourcecode extension also supports GitHub-flavor backticks.

`​``javascript
console.log('Hello World');
`​``