public
Description: An implementation of markdown in C, using a PEG grammar
Clone URL: git://github.com/jgm/peg-markdown.git
Search Repo:
100644 26 lines (18 sloc) 0.439 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<ul>
<li><p>this is a list item
indented with tabs</p></li>
<li><p>this is a list item
indented with spaces</p></li>
</ul>
 
<p>Code:</p>
 
<pre><code>this code block is indented by one tab
</code></pre>
 
<p>And:</p>
 
<pre><code> this code block is indented by two tabs
</code></pre>
 
<p>And:</p>
 
<pre><code>+ this is an example list item
    indented with tabs
 
+ this is an example list item
    indented with spaces
</code></pre>