summaryrefslogtreecommitdiff
path: root/oldtests/Code/FencedCodeBlocks.markdown
blob: 6ccc6bee8ceb9bd8ffd54a824d9865a198ffac20 (plain)
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
27
28
29
30
31
32
33
34
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