blob: 326817b0d3453db1c85f6286ede13d81f076e010 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
Escape list markers at beginning of paragraph:
```
% pandoc -t markdown
\* ok
\+ ok
\- ok
1\. ok
a\. ok
^D
\* ok
\+ ok
\- ok
1\. ok
a\. ok
```
Here we don't need to escape because there's no space:
```
% pandoc -t markdown
\+ok
\-ok
1.ok
^D
+ok
-ok
1.ok
```
Also escape things that might become line blocks or tables:
```
% pandoc -t markdown
\| hi \|
^D
\| hi |
```
|