Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
698 B
25 lines
698 B
10 years ago
|
<p>This is a fenced code block:</p>
|
||
10 years ago
|
<pre><code class="haskell">pairs :: [(Int,Char)]
|
||
10 years ago
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
|
||
|
</code></pre>
|
||
|
<p>Here is one with tildes:</p>
|
||
10 years ago
|
<pre><code class="haskell">pairs :: [(Int,Char)]
|
||
10 years ago
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
|
||
|
</code></pre>
|
||
|
<p>More metadata:</p>
|
||
10 years ago
|
<pre><code class="haskell">pairs :: [(Int,Char)]
|
||
10 years ago
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
|
||
|
</code></pre>
|
||
|
<p>More backticks:</p>
|
||
10 years ago
|
<pre><code class="haskell">pairs :: [(Int,Char)]
|
||
10 years ago
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
|
||
|
|
||
|
backticks :: String
|
||
|
backticks = "`````"
|
||
|
</code></pre>
|
||
|
<p>Without an end:</p>
|
||
|
<pre><code>code with
|
||
|
no end
|
||
|
|
||
|
</code></pre>
|