aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarc Schreiber <marc.schreiber@fh-aachen.de>2017-05-02 10:48:57 +0200
committerMarc Schreiber <marc.schreiber@fh-aachen.de>2017-05-02 10:48:57 +0200
commit49336ee6eeecc352e248d1262ea1b46070e00243 (patch)
treee088f12bb54d80cfe2efbbb0e31cc70011504094 /test
parent022d58e02a6276aa830639ad641aae1542731bbe (diff)
downloadpandoc-49336ee6eeecc352e248d1262ea1b46070e00243.tar.gz
Add basic \textcolor support to LaTeX reader
Diffstat (limited to 'test')
-rw-r--r--test/command/textcolor.md13
1 files changed, 13 insertions, 0 deletions
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"]]]]
+```