Merge pull request #1090 from jrnold/master

LaTeX reader: add support for Verb macro
This commit is contained in:
John MacFarlane 2013-12-13 21:36:09 -08:00
commit 94daf912ea

View file

@ -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)))