-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix release markdown rendering of double newlines #176
Comments
If you don't want to make changes to markdown formatting, is there a way to customize this in project I use? |
IIRC, the markdown is generated by https://github.com/jwage/changelog-generator To customize the release text, you would implement automatic-releases/src/Github/CreateReleaseText.php Lines 13 to 34 in 41da249
Then inject it in the command: automatic-releases/src/Application/Command/ReleaseCommand.php Lines 37 to 61 in 41da249
This is probably best done by having your own automatic-releases/bin/console.php Lines 53 to 172 in 41da249
Note how |
I was hoping of configuration via:
not forking code and ecosystem around it 🗡️ but, have you though of having a container to define dependencies, like: so, I could provide my override container if just want to wiggle few bits. |
Potentially feasible, but this application was never designed for customization, rather quick iteration and ease of use (which is quite a challenge already, given the GPG requirements). IMO forking + customizing is the way to go here, as it is not a library, but an application. If I can get rid of a config setting, and instead make it a default, I'll gladly do that instead. |
Very similar/related: Roave/BackwardCompatibilityCheck#377 In fact, |
but that's replacing whole bin/console content... instead of just overriding single thing: $container->set(SOMEDEPENDENCY, SOMETHINGELSE) |
Yes, and that's no big deal, especially if you just need one of the many commands. It is intentional/by design. EDIT: in fact, give it a shot - if all you need is a single command to override, writing your own little script that uses symbols from this library should be enough, and quicker to write/easier to maintain than actually inventing a configuration DSL. |
@Ocramius Will this do? jwage/changelog-generator#71 |
Most likely, ya - not sure about the difference in output between grouped/non-grouped: the tests are quite hard to read |
The only thing non-grouped will do is set that label to anything without a group. Will improve the wording, also not sure if non-grouped is the right term here 🤐 |
Bug Report
Summary
Because there's a double newline between two lists, markdown renders every item with double newlines and considers the two lists as one.
The workaround is to put some non-list element between the lists.
Current behavior
markdown source
Expected behavior
markdown source
The text was updated successfully, but these errors were encountered: