Added first command test to cabal metadata and repo.
commitce9ec679707fa1f199794a29dff200ac66d9f310
authorJohn MacFarlane <jgm@berkeley.edu>
dateSat 4 Feb 2017, 21:31 (10 years ago)
parent623d860
pandoc.cabal+1
@@ -122,6 +122,7 @@ Extra-Source-Files:
122122 -- tests
123123 test/bodybg.gif
124124 test/*.native
125+ test/command/*.md
125126 test/docbook-reader.docbook
126127 test/docbook-xref.docbook
127128 test/html-reader.html
test/command/smart.mdnew file+25
@@ -0,0 +1,25 @@
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+```
7+
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+```
14+
15+When we render literal quotes without smart, we need to escape:
16+
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+```
24+
25+