You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What this means is that the only way to get underlines in Markdown files is to:
duplicate the Markdown template,
rename it to something that does not end in .md, and
specify that template in towncrier.toml.
I think the rendered jinja output should not be modified in build.py. Any special behavior should be in the template itself, such that it becomes easier to override.
I'll create a pull request when I have time.
The text was updated successfully, but these errors were encountered:
Our project uses the setext_with_atx heading style for its changelogs:
Until towncrier 23.11.0 it worked properly with this configuration:
After upgrading to 24.7.0 or later the
underlines
option is ignored. That is caused by these lines:towncrier/src/towncrier/build.py
Line 177 in 833647e
towncrier/src/towncrier/build.py
Lines 234 to 237 in 833647e
What this means is that the only way to get underlines in Markdown files is to:
.md
, andtowncrier.toml
.I think the rendered jinja output should not be modified in
build.py
. Any special behavior should be in the template itself, such that it becomes easier to override.I'll create a pull request when I have time.
The text was updated successfully, but these errors were encountered: