Allow configuring specific headers in theme
In addition to header, individual headers can now also be customized. The
configuration blocks under headers accepts a style list, a prefix string
and an underline string that is repeated match the width of the header.
For example:
patat:
theme:
headers:
h3:
style: [vividRed]
prefix: '### '
underline: '-~-~'
See #81
@halloleo Would this work for your use case? Are there other parameters that you think would be useful?
Ah, I see, there is a new attribute "headers"! Cool!
@halloleo Would this work for your use case?
Yes, it certainly would. (I'd just set prefix: '')
Are there other parameters that you think would be useful?
Well, one thing I really would like is the option to center the headers (but just the headers). My headers are often rather short, so that they make the slides "left-heavy".
(For my current presentation I center the whole slide deck, just because of this visual imbalance, but I really only want to center the headers,)
I would appreciate this change as well!
Thanks for the gentle nudge. I wanted to add centered headers to this as well before merging. I added the implementation for that just now. It just needs a few more doc/tests bump and then I will merge and put this in a release.
Thanks for the great work. :)
This is included in v0.15.2.0.
Thanks @jaspervdj for doing this. Will certainly use it.