diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-06 23:33:23 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-06 23:33:23 +0100 |
commit | 47a16065c44eb5028ca9b9e86993fe880ef2a37d (patch) | |
tree | 87187306f99b0782fb7709a57491c774a5a168a3 /test | |
parent | d1c16c4785b177fc71358595ef8e3ac9bb75b4ba (diff) | |
download | pandoc-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')
-rw-r--r-- | test/Tests/Old.hs | 2 | ||||
-rw-r--r-- | test/command/parse-raw.md | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs index ba8ea8240..d9877c8a0 100644 --- a/test/Tests/Old.hs +++ b/test/Tests/Old.hs @@ -46,7 +46,7 @@ tests = [ testGroup "markdown" , testGroup "latex" [ testGroup "writer" (writerTests "latex" ++ lhsWriterTests "latex") , testGroup "reader" - [ test "basic" ["-r", "latex", "-w", "native", "-s", "-R"] + [ test "basic" ["-r", "latex+raw_tex", "-w", "native", "-s"] "latex-reader.latex" "latex-reader.native" , lhsReaderTest "latex+lhs" ] 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* +``` |