git.iko.soy/typeable/pandoc
on master help sign in
Support \frametitle, \framesubtitle.
commitf97391c7de9ef4adeea954f298b588043a0c128c authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 5 Feb 2012, 09:28 (15 years ago) parent922469b
1 file changed+5
src/Text/Pandoc/Readers/LaTeX.hs+5
src/Text/Pandoc/Readers/LaTeX.hs+5
@@ -231,8 +231,13 @@ blockCommands = M.fromList $
231231 , ("subsubsection", section 3)
232232 , ("paragraph", section 4)
233233 , ("subparagraph", section 5)
234+ -- beamer slides
235+ , ("frametitle", section 3)
236+ , ("framesubtitle", section 4)
237+ -- letters
234238 , ("opening", (para . trimInlines) <$> tok)
235239 , ("closing", closing)
240+ --
236241 , ("rule", optional opt *> tok *> tok *> pure horizontalRule)
237242 , ("begin", mzero) -- these are here so they won't be interpreted as inline
238243 , ("end", mzero)