Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make md_header_level available to templates #96

Open
DonalChilde opened this issue May 30, 2023 · 0 comments
Open

Make md_header_level available to templates #96

DonalChilde opened this issue May 30, 2023 · 0 comments

Comments

@DonalChilde
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant