aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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"]]]]
+```