A large collection of code samples which have been tested against GitHub's markdown parser... so you don't have to.
- README.md (preview, raw) – this file
- TEST.md (preview, raw) — used to test the examples from this file, which are pre-generated
- Original Markdown Syntax from John Gruber
- GitHub-Flavored Markdown from GitHub
Code | Preview | |||
Paragraph | ||||
|
This is a paragraph. | |||
Headers (Sextext-style) | ||||
|
||||
Headers (Atx-style) | ||||
|
||||
Headers (Atx-style closed) | ||||
|
||||
Blockquote | ||||
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. |
|||
Blockquote with nested elements | ||||
|
|
|||
List | ||||
|
|
|||
Ordered List | ||||
|
|
|||
Code Block | ||||
|
Normal paragraph.
|
|||
Horizontal Rules | ||||
|
|
Code | Preview |
Links | |
|
This is an example link. This link has no title attr. This is an example reference-style link. |
Emphasis | |
|
single asterisks single underscores double asterisks double underscores |
Code | |
|
This paragraph has some |
Image | |
|