Remark

Examples

Here are some basic input/output examples.

Options: None (Straight Markdown)

Hello World

Lists & Styling

Links

Blockquotes and Code Samples

Broken and Poor HTML

In this example, you can see how Remark (along with JSoup) does it’s best to salvage a usable result from bad input.

Options: Markdown Extra

These are some unique results when the options are set to use PHP Markdown Extra special features.

Header IDs & Abbreviations

Definition Lists

Markdown Extra Tables

Options: Pegdown (All Extensions)

These are some unique results when the options are set to use Pegdown (All Extensions) special features.

Autolinks & Entity / Smartquote Reversal

Tables (with colspan)

Notice that, unlike the previous table example, the column-spanning is preserved.