Styleguide
GitHub Markdown Kitchen Sink
A large collection of code samples which have been tested against GitHub’s markdown parser… so you don’t have to.
Resources
This Repo
- README.md (preview, raw) – this file
- TEST.md (preview, raw) — used to test the examples from this file, which are pre-generated
Markdown
- Original Markdown Syntax from John Gruber
- GitHub-Flavored Markdown from GitHub
Code Examples with Preview
Block Elements
| Code | Preview | |||
| Paragraph | ||||
|
This is a paragraph. | |||
| Headers (Sextext-style) | ||||
|
Header 1Header 2 |
|||
| Headers (Atx-style) | ||||
|
Header 1Header 2Header 3Header 4Header 5Header 6 |
|||
| Headers (Atx-style closed) | ||||
|
Header 1Header 2Header 3Header 4Header 5Header 6 |
|||
| 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 | ||||
|
|
|||
Inline Elements
| Code | Preview | ||||||||
| Links | |||||||||
|
This is an example link. This link has no title attr. This is an example reference-style link. |
||||||||
| Emphasis | |||||||||
|
|||||||||