git.iko.soy/typeable/pandoc
on commonmark-github help sign in
45 lines 796 B history raw
1```
2% pandoc -f markdown+smart -t markdown-smart
3"hi"...dog's breath---cat 5--6
4^D
5“hi”…dog’s breath—cat 5–6
6```
8```
9% pandoc -f markdown+smart -t markdown+smart
10"hi"...dog's breath---cat 5--6
11^D
12"hi"...dog's breath---cat 5--6
13```
15When we render literal quotes without smart, we need to escape:
17```
18% pandoc -f markdown-smart \
19 -t markdown+smart
20"hi"...dog's breath---cat 5--6
21^D
22\"hi\"\...dog\'s breath\-\--cat 5\--6
23```
25```
26% pandoc -f markdown+smart -t rst-smart
27"hi"...dog's breath---cat 5--6
28^D
29“hi”…dog’s breath—cat 5–6
30```
32```
33% pandoc -f markdown+smart -t rst+smart
34"hi"...dog's breath---cat 5--6
35^D
36"hi"...dog's breath---cat 5--6
37```
39```
40% pandoc -f markdown-smart -t rst+smart
41"hi"...dog's breath---cat 5--6
42^D
43\"hi\"\...dog\'s breath\-\--cat 5\--6
44```