mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-26 09:25:48 +00:00
Rudimentary support for programlisting in docbook reader.
This commit is contained in:
@@ -46,6 +46,7 @@ parseBlock (Elem e) =
|
||||
"section" -> gets dbSectionLevel >>= sect . (+1)
|
||||
"itemizedlist" -> bulletList <$> listitems
|
||||
"articleinfo" -> getTitle >> getAuthors >> getDate >> return mempty
|
||||
"programlisting" -> return $ codeBlock $ strContent e
|
||||
"title" -> return mempty -- processed by sect
|
||||
"?xml" -> return mempty
|
||||
_ -> getBlocks e
|
||||
|
||||
Reference in New Issue
Block a user