File: markdown-fenced-code-block.md

package info (click to toggle)
python-sybil 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,148 kB
  • sloc: python: 4,510; makefile: 90
file content (55 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
backticks:

```
<
 >
```

tildes:
~~~
<
 >
~~~

Fewer than three backticks is not enough:
``
foo
``


The closing code fence must use the same character as the opening fence:


```
aaa
~~~
```


The closing code fence must be at least as long as the opening fence:

````
aaa
```
``````

Nested:

~~~~
~~~
aaa
~~~
~~~~


Can't mix chars:

~`~
foo
~`~


This one gets closed by the end of document:
```
some stuff here
~~~