PowerPoint writer: Obey slide level option
This commit is contained in:
parent
bbf1192b86
commit
52a4cf6699
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ writePowerpoint opts (Pandoc meta blks) = do
|
|||
, envDistArchive = distArchive
|
||||
, envUTCTime = utctime
|
||||
, envOpts = opts
|
||||
, envSlideLevel = case writerSlideLevel opts of
|
||||
Just n -> n
|
||||
Nothing -> 2
|
||||
}
|
||||
runP env def $ do pres <- blocksToPresentation blks'
|
||||
archv <- presentationToArchive pres
|
||||
|
|
Loading…
Reference in a new issue