make setHeadingLevel a chainable method
Merge pull request #2634 from pine3ree/patch-1

make setHeadingLevel a chainable method