git.iko.soy/typeable/pandoc
on master help sign in
More smart escaping tests.
396d304John MacFarlane
test/command/smart.md+20
@@ -22,4 +22,24 @@ When we render literal quotes without smart, we need to escape:
22\"hi\"\...dog\'s breath\-\--cat 5\--6
22\"hi\"\...dog\'s breath\-\--cat 5\--6
23```
23```
24
24
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+```
31+
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+```
38+
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+```
25
45