iainbrighton / PScribo

PowerShell documentation framework
MIT License
231 stars 35 forks source link

Limited TOC in Word Docs #62

Closed jbruett closed 4 years ago

jbruett commented 6 years ago

I generated the same document in all four primary output types (html, text, word, xml). In word, i'm only seeing the first three levels of the TOC, in all other formats i see 6 levels of TOC as expected. Is the module purposely limiting the Word TOC to 3 levels?

iainbrighton commented 6 years ago

@jbruett No artificial limit imposed that I'm aware of, so it is probably the default Word TOC implementation. We'd need to look at changing that in the underlying XML 😟.

iainbrighton commented 4 years ago

@jbruett This should be fixed in the latest dev branch. All HeadingX sections should now be displayed, mirroring the other output formats. Thanks for your patience 😉

iainbrighton commented 4 years ago

Available in the 0.8.0 release