From ce9ec679707fa1f199794a29dff200ac66d9f310 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Feb 2017 21:31:48 +0100 Subject: Added first command test to cabal metadata and repo. --- test/command/smart.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/command/smart.md (limited to 'test/command') diff --git a/test/command/smart.md b/test/command/smart.md new file mode 100644 index 000000000..541275f4a --- /dev/null +++ b/test/command/smart.md @@ -0,0 +1,25 @@ +``` +% pandoc -f markdown+smart -t markdown-smart +"hi"...dog's breath---cat 5--6 +^D +“hi”…dog’s breath—cat 5–6 +``` + +``` +% pandoc -f markdown+smart -t markdown+smart +"hi"...dog's breath---cat 5--6 +^D +"hi"...dog's breath---cat 5--6 +``` + +When we render literal quotes without smart, we need to escape: + +``` +% pandoc -f markdown-smart \ + -t markdown+smart +"hi"...dog's breath---cat 5--6 +^D +\"hi\"\...dog\'s breath\-\--cat 5\--6 +``` + + -- cgit v1.2.3