diff options
author | Marc Schreiber <marc.schreiber@fh-aachen.de> | 2017-05-03 13:39:38 +0200 |
---|---|---|
committer | Marc Schreiber <marc.schreiber@fh-aachen.de> | 2017-05-03 13:39:38 +0200 |
commit | 1728d4e60983e050be4bfb5b8c2e6065b4dd198a (patch) | |
tree | 08c1676949702de6635a37c286aab414c9c634e1 /test/command | |
parent | d9439808f2fe226aad027c8c9d0a38217a1e8c34 (diff) | |
download | pandoc-1728d4e60983e050be4bfb5b8c2e6065b4dd198a.tar.gz |
\textcolor works as inline and block command
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/textcolor.md | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/test/command/textcolor.md b/test/command/textcolor.md index 013e55d67..aa3593822 100644 --- a/test/command/textcolor.md +++ b/test/command/textcolor.md @@ -1,24 +1,28 @@ ``` % pandoc -f latex -t native -\textcolor{red}{Hello World} +Hello \textcolor{red}{World} ^D -[Para [Span ("",[],[("style","color: red")]) [Str "Hello",Space,Str "World"]]] +[Para [Str "Hello",Space,Span ("",[],[("style","color: red")]) [Str "World"]]] ``` ``` % pandoc -f latex -t native -\textcolor{blue}{Hello \textbf{World}} +Hello \textcolor{blue}{\textbf{World}} ^D -[Para [Span ("",[],[("style","color: blue")]) [Str "Hello",Space,Strong [Str "World"]]]] +[Para [Str "Hello",Space,Span ("",[],[("style","color: blue")]) [Strong [Str "World"]]]] ``` ``` % pandoc -f latex -t native \textcolor{orange}{ - \begin{itemize} - \item Test - \end{itemize} +\begin{itemize} + \item Item 1 + \item Item 2 +\end{itemize} } ^D - +[Div ("",[],[("style","color: orange")]) + [BulletList + [[Para [Str "Item",Space,Str "1"]] + ,[Para [Str "Item",Space,Str "2"]]]]] ``` |