aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-06 23:33:23 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-06 23:33:23 +0100
commit47a16065c44eb5028ca9b9e86993fe880ef2a37d (patch)
tree87187306f99b0782fb7709a57491c774a5a168a3 /test/command
parentd1c16c4785b177fc71358595ef8e3ac9bb75b4ba (diff)
downloadpandoc-47a16065c44eb5028ca9b9e86993fe880ef2a37d.tar.gz
Removed --parse-raw and readerParseRaw.
These were confusing. Now we rely on the +raw_tex or +raw_html extension with latex or html input. Thus, instead of --parse-raw -f latex we use -f latex+raw_tex and instead of --parse-raw -f html we use -f html+raw_html
Diffstat (limited to 'test/command')
-rw-r--r--test/command/parse-raw.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/command/parse-raw.md b/test/command/parse-raw.md
new file mode 100644
index 000000000..f4e493c69
--- /dev/null
+++ b/test/command/parse-raw.md
@@ -0,0 +1,27 @@
+```
+% pandoc -f latex+raw_tex -t markdown
+\emph{Hi \foo{there}}
+^D
+*Hi \foo{there}*
+```
+
+```
+% pandoc -f latex -t markdown
+\emph{Hi \foo{there}}
+^D
+*Hi*
+```
+
+```
+% pandoc -f html+raw_html -t markdown
+<em>Hi <blink>there</blink></em>
+^D
+*Hi <blink>there</blink>*
+```
+
+```
+% pandoc -f html -t markdown
+<em>Hi <blink>there</blink></em>
+^D
+*Hi there*
+```