A PHP tool built to generate a changelog from a project's commit messages and metadata following the conventionalcommits.org and automate versioning with semver.org.
GNU General Public License v3.0
227
stars
32
forks
source link
Missing blank line between changeLogVersionHeading and changelog content #39
Markdown specs specify that headings should have blank lines before and after them ref https://www.markdownguide.org/basic-syntax/
This package doesn't do that see https://raw.githubusercontent.com/marcocesarato/php-conventional-changelog/main/CHANGELOG.md
We can prevent this by adding the blank line after heading in config with
'changelogVersionFormat' => '## [{{version}}] - {{date}}'."\n",
but maybe it would be better if the package does it by default. We can do that by adding."\n"
here https://github.com/marcocesarato/php-conventional-changelog/blob/main/src/Changelog.php#L366Any thought about this ? Would you like a PR for that ?