aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-12-13 21:36:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2013-12-13 21:36:09 -0800
commit94daf912ea209fa0100a3b26f8cad3536abd5c0c (patch)
tree3e6cd59fd1d4f21950426a76f70f6c87d82d9e2d /src
parentb2aae73f14cbcb57b72886565e8bbef9a477b5d5 (diff)
parent5adbe7b36592ba8779563bba791ad4724fde927c (diff)
downloadpandoc-94daf912ea209fa0100a3b26f8cad3536abd5c0c.tar.gz
Merge pull request #1090 from jrnold/master
LaTeX reader: add support for Verb macro
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 509cb5d74..736f2ff1c 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -455,6 +455,7 @@ inlineCommands = M.fromList $
, ("footnote", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
, ("verb", doverb)
, ("lstinline", doverb)
+ , ("Verb", doverb)
, ("texttt", (code . stringify . toList) <$> tok)
, ("url", (unescapeURL <$> braced) >>= \url ->
pure (link url "" (str url)))