From 47a16065c44eb5028ca9b9e86993fe880ef2a37d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 6 Feb 2017 23:33:23 +0100 Subject: 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 --- test/Tests/Old.hs | 2 +- test/command/parse-raw.md | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 test/command/parse-raw.md (limited to 'test') 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 +Hi there +^D +*Hi there* +``` + +``` +% pandoc -f html -t markdown +Hi there +^D +*Hi there* +``` -- cgit v1.2.3