scriv
scriv copied to clipboard
Make md_header_level available to templates
If md_header_level was available as a template variable, then custom sub headers could be added to the entry_title_template.
e.g.
% if version %}[{{ version }}](https://github.com/DonalChilde/aa_pbs_exporter/compare/_previous_version_tag_...{{version}}) — {% endif %} {{ date.strftime('%Y-%m-%d') }}
{{"\n"}}
{{ "#" * md_header_level}} Whats Changed in {{version}}
Note, I don't use jinja much, and the syntax might be bad for the above. But I'm sure that the "#" * md_header_level
could be accomplished somehow.