twisted / towncrier

Manage the release notes for your project.
https://towncrier.readthedocs.io
MIT License
755 stars 107 forks source link

Refactor rendering of title via `config.title_format` #610

Closed SmileyChris closed 2 weeks ago

SmileyChris commented 3 weeks ago

Description

Make title_format work for markdown as well as restructured text. Fixes #609.

Checklist

adiroiban commented 3 weeks ago

Thanks for the PR

For this PR we can continue with the hardcoded support for RST and MD.


I think that in an ideal case, the builder should not care about makrdown or restructured format.

In the future we can also have AsciiDoc, or other formats.

It would be nice for title_format to export all the required variable to be able to build a multi-line jinja template.