How can I add a heading level to text with docxtpl?
Can I do something like this: ?
rt = RichText()
rt.add('Headername', level=1)
The simplest way to achieve this is just to adjust the font size of your {{ Headername }}
expression in the template document: