Copyright | Copyright (C) 2012-2023 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Utility functions for splitting documents into slides for slide show formats (dzslides, revealjs, s5, slidy, slideous, beamer).
Synopsis
- getSlideLevel :: [Block] -> Int
- prepSlides :: Int -> [Block] -> [Block]
Documentation
getSlideLevel :: [Block] -> Int Source #
Find level of header that starts slides (defined as the least header level that occurs before a non-header/non-hrule in the blocks).
prepSlides :: Int -> [Block] -> [Block] Source #
Prepare a block list to be passed to makeSections.