| <?xml version='1.0' encoding='utf-8' ?> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| </head> |
| <body> |
| |
| <h3>CommonMark Cheat Sheet</h3> |
| |
| |
| <h4>Headings</h4> |
| |
| <pre># Heading Level 1</pre> |
| <pre>## Heading Level 2</pre> |
| <pre>### Heading Level 3</pre> |
| |
| or |
| |
| <pre>Heading Level 1 |
| ===============</pre> |
| <pre>Heading Level 2 |
| ---------------</pre> |
| |
| |
| <h4>Phrase Modifiers</h4> |
| <pre><em>*emphasis*</em></pre> |
| <pre><em>_emphasis_</em></pre> |
| <pre><strong>**strong emphasis**</strong></pre> |
| <pre><strong>__strong emphasis__</strong></pre> |
| <pre><code style="color: MidnightBlue; background-color: WhiteSmoke">`code span`</code></pre> |
| |
| |
| <h4>Links</h4> |
| |
| <pre><http://example.com></pre> |
| <pre>[link text](http://example.com)</pre> |
| <pre>[link text](http://example.com "title")</pre> |
| |
| |
| <h4>Images</h4> |
| |
| <pre></pre> |
| <pre></pre> |
| <pre></pre> |
| |
| |
| <h4>Bullet Lists</h4> |
| |
| <pre> |
| * one |
| * two |
| two continued |
| * three |
| </pre> |
| |
| |
| <h4>Numeric Lists</h4> |
| |
| <pre> |
| 1. one |
| 2. two |
| two continued |
| 3. three |
| </pre> |
| |
| or |
| |
| <pre> |
| 1) one |
| 2) two |
| two continued |
| 3) three |
| </pre> |
| |
| |
| <h4>Block Quotes</h4> |
| |
| <pre> |
| > <span style="color: SlateGray">example of</span> |
| > <span style="color: SlateGray">a block quote</span> |
| </pre> |
| |
| |
| <h4>Code Blocks</h4> |
| |
| <pre style="color: MidnightBlue; background-color: WhiteSmoke"> |
| ``` java |
| if (true) { |
| // this is code |
| } |
| ``` |
| </pre> |
| |
| or |
| |
| <pre style="color: MidnightBlue; background-color: WhiteSmoke"> |
| if (true) { |
| // this is code |
| } |
| </pre> |
| |
| <hr/> |
| CommonMark: <a href="http://www.commonmark.org" title="CommonMark Homepage">Homepage</a> | |
| <a href="http://spec.commonmark.org/" title="CommonMark Spec">Spec</a> |
| |
| <body></html> |