-
Notifications
You must be signed in to change notification settings - Fork 17
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
Multiline entry results in multiple entries #31
Comments
And empty lines (which have their role in Markdown) are striped.
|
Hello @Mulugruntz, Thanks for reporting. This is indeed a known issue. Markdown parsing is basic for now as we treat each line as a separate entry. Thanks again |
Sure @Colin-b ! I just finished rewriting the whole parser. There are still some odd behaviours that could be discussed but I chose to not change them, to be as close as possible to the current one. Anyway, now there is a whole bunch of objects that handle different parts of the changelog. And they can be serialized/deserialized. I've seen that you did not have a single dependency, so I kept it this way (would have been so much simpler / faster with This is but a first step towards easier maintenance and future development. You can check the changes so far. |
Followed-up on #37 |
Let's say I have the following changelog:
Rendered as so:
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
Unreleased
Changed
Changed
f()
andg()
intoh(b:bool)
.The change is NOT backward compatible!!
Please replace
.f()
->.h()
And replace
.g()
->.h(b=True)
Reason: There is a bug in
somelib
...More: https://bugs.python.org/issueXXXXX
Release note 2.
1.0.0 - 2017-04-10
Deprecated
If I run:
This is what I get:
Rendered as:
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
Unreleased
Changed
f()
andg()
intoh(b:bool)
..f()
->.h()
.g()
->.h(b=True)
somelib
...1.0.0 - 2017-04-10
Deprecated
As we can see, each line is managed as a new note.
The text was updated successfully, but these errors were encountered: