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.
36 lines
549 B
36 lines
549 B
10 years ago
|
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
|
||
|
|