Skip to content

addHeading #117

Closed Answered by jesper-raemaekers
rotkiv1205 asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah you still use the same function but you add a parent to it. A child of title will be heading 1 and a child of that will be heading 2 and so on..

h1 = doc.addHeading('Header 1')
h2 = doc.addHeading('Header 2', h1)
h3 = doc.addHeading('Header 3', h2)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rotkiv1205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants