use h3 for changelog sections

This commit is contained in:
pooya parsa 2019-05-26 00:35:02 +04:30
parent 2776d2dd7a
commit d7910e923a

View File

@ -130,7 +130,7 @@ function generateMarkDown(commits) {
} }
const { title } = types[type] const { title } = types[type]
markdown += '\n\n' + '#### ' + title + '\n\n' markdown += '\n\n' + '### ' + title + '\n\n'
const scopeGroups = groupBy(group, 'scope') const scopeGroups = groupBy(group, 'scope')
for (const scopeName in scopeGroups) { for (const scopeName in scopeGroups) {
@ -143,7 +143,7 @@ function generateMarkDown(commits) {
const authors = sortBy(uniq(commits.map(commit => commit.authorName).filter(an => !isKnownAuthor(an)))) const authors = sortBy(uniq(commits.map(commit => commit.authorName).filter(an => !isKnownAuthor(an))))
if (authors.length) { if (authors.length) {
markdown += '\n\n' + '#### ' + '💖 Thanks to' + '\n\n' markdown += '\n\n' + '### ' + '💖 Thanks to' + '\n\n'
markdown += authors.map(name => '- ' + name).join('\n') markdown += authors.map(name => '- ' + name).join('\n')
} }