git.iko.soy/typeable/pandoc
on master help sign in
More smart escaping tests.
commit396d304167c54ec9c67b152f8eb4d26b7ef88e31 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 4 Feb 2017, 22:09 (10 years ago) parent7404c83
1 file changed+20
test/command/smart.md+20
test/command/smart.md+20
@@ -22,4 +22,24 @@ When we render literal quotes without smart, we need to escape:
2222\"hi\"\...dog\'s breath\-\--cat 5\--6
2323```
2424
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+```
2545