blob: e7e51e1484611fbcd7530b85541df3e8299eab9a [file] [log] [blame]
<?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>&lt;http://example.com&gt;</pre>
<pre>[link text](http://example.com)</pre>
<pre>[link text](http://example.com "title")</pre>
<h4>Images</h4>
<pre>![](http://example.com/img.png)</pre>
<pre>![altText](http://example.com/img.png)</pre>
<pre>![altText](http://example.com/img.png "title")</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>
&gt; <span style="color: SlateGray">example of</span>
&gt; <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>