Colin-b / keepachangelog

Convert keep a changelog markdown file into python dict

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.todict remove ** at start of a commit line

REBAUD opened this issue · comments

Hello

We are using commitizen to write our commit definition, and often use scope to precise the subject of the commit.
During the release phase, we use commitizen bump to generate the changelog

At this instant, commitizen write the scope in bold:

  • server: add a new route to analyse .....
  • recurrence: ....

We also use keepachangelog to extract some information from changelog of our module, but, during the .todict, the left scope ** are removed.

It's an expected behavior from add_information function, but is it possible to authorize to have bold scope in a changelog?
If there is a specific reason to remove left star, is it possible to discuss to keep bold characters.

Thank you

It is indeed a known issue that the markdown parsing is for now really limited with this package. There is even a pull request submitted to rework a huge part of it. I can't say when I'll have some time to dig into it but that is definitively something that needs to be done.