git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Parse `\hrule` as HorizontalRule.
0e03962John MacFarlane
src/Text/Pandoc/Readers/LaTeX.hs+1
@@ -269,6 +269,7 @@ blockCommands = M.fromList $
269 , ("opening", (para . trimInlines) <$> (skipopts *> tok))
269 , ("opening", (para . trimInlines) <$> (skipopts *> tok))
270 , ("closing", skipopts *> closing)
270 , ("closing", skipopts *> closing)
271 --
271 --
272+ , ("hrule", pure horizontalRule)
272 , ("rule", skipopts *> tok *> tok *> pure horizontalRule)
273 , ("rule", skipopts *> tok *> tok *> pure horizontalRule)
273 , ("item", skipopts *> loose_item)
274 , ("item", skipopts *> loose_item)
274 , ("documentclass", skipopts *> braced *> preamble)
275 , ("documentclass", skipopts *> braced *> preamble)