From 49336ee6eeecc352e248d1262ea1b46070e00243 Mon Sep 17 00:00:00 2001 From: Marc Schreiber Date: Tue, 2 May 2017 10:48:57 +0200 Subject: Add basic \textcolor support to LaTeX reader --- test/command/textcolor.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/command/textcolor.md (limited to 'test') diff --git a/test/command/textcolor.md b/test/command/textcolor.md new file mode 100644 index 000000000..7719a1c6b --- /dev/null +++ b/test/command/textcolor.md @@ -0,0 +1,13 @@ +``` +% pandoc -f latex -t native +\textcolor{red}{Hello World} +^D +[Para [Span ("",[],[("style","color: red")]) [Str "Hello",Space,Str "World"]]] +``` + +``` +% pandoc -f latex -t native +\textcolor{blue}{Hello \textbf{World}} +^D +[Para [Span ("",[],[("style","color: blue")]) [Str "Hello",Space,Strong [Str "World"]]]] +``` -- cgit v1.2.3