Markdown reference

Grow 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.

include

Includes content from another document.

# Remove the extra space after `)`.
[include('/content/shared/stuff.md') ]

url

Url to another document in the pod.

# Remove the extra space after `)`.
[url('/content/pages/archive.md') ]

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');
`​``