Powerpoint writer: Set notes slide header with slide-level
It used to be hardcoded to 2. This will set it to the appropriate slide-level.
This commit is contained in:
parent
021e5ac89d
commit
1d9c2770e3
1 changed files with 2 additions and 1 deletions
|
@ -648,9 +648,10 @@ forceFontSize px x = do
|
|||
makeNotesSlides :: PandocMonad m => P m [Slide]
|
||||
makeNotesSlides = local (\env -> env{envInNoteSlide=True}) $ do
|
||||
noteIds <- gets stNoteIds
|
||||
slideLevel <- asks envSlideLevel
|
||||
if M.null noteIds
|
||||
then return []
|
||||
else do let hdr = Header 2 nullAttr [Str "Notes"]
|
||||
else do let hdr = Header slideLevel nullAttr [Str "Notes"]
|
||||
blks <- return $
|
||||
concatMap (\(n, bs) -> makeNoteEntry n bs) $
|
||||
M.toList noteIds
|
||||
|
|
Loading…
Reference in a new issue