Vitaly Puzrin
10 years ago
14 changed files with 117 additions and 31 deletions
@ -0,0 +1,8 @@ |
|||||
|
<pre><code class="abc">``` |
||||
|
</code></pre> |
||||
|
<pre><code class="blah"> |
||||
|
````` |
||||
|
|
||||
|
```` |
||||
|
|
||||
|
</code></pre> |
@ -0,0 +1,24 @@ |
|||||
|
<p>This is a fenced code block:</p> |
||||
|
<pre><code class="haskell">pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
</code></pre> |
||||
|
<p>Here is one with tildes:</p> |
||||
|
<pre><code class="haskell">pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
</code></pre> |
||||
|
<p>More metadata:</p> |
||||
|
<pre><code class="haskell">pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
</code></pre> |
||||
|
<p>More backticks:</p> |
||||
|
<pre><code class="haskell">pairs :: [(Int,Char)] |
||||
|
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> |
@ -0,0 +1,10 @@ |
|||||
|
````abc |
||||
|
``` |
||||
|
```` |
||||
|
``````blah |
||||
|
|
||||
|
````` |
||||
|
|
||||
|
```` |
||||
|
|
||||
|
``````````` |
@ -0,0 +1,35 @@ |
|||||
|
This is a fenced code block: |
||||
|
```haskell |
||||
|
pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
``` |
||||
|
Here is one with tildes: |
||||
|
|
||||
|
~~~ haskell |
||||
|
pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
~~~ |
||||
|
|
||||
|
More metadata: |
||||
|
|
||||
|
```haskell numberLines start=50 |
||||
|
pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
``` |
||||
|
|
||||
|
More backticks: |
||||
|
|
||||
|
```````` haskell |
||||
|
pairs :: [(Int,Char)] |
||||
|
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
||||
|
|
||||
|
backticks :: String |
||||
|
backticks = "`````" |
||||
|
````````````` |
||||
|
|
||||
|
Without an end: |
||||
|
|
||||
|
``` |
||||
|
code with |
||||
|
no end |
||||
|
|
Loading…
Reference in new issue