Skip to content

Make md_header_level available to templates #96

@DonalChilde

Description

@DonalChilde

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions