Improve typography for "What's new?" dialog (#391)
- remove <h1> (redundant) - adjust font-sizes and margins for headings (h2, h3)
This commit is contained in:
parent
a066adc752
commit
5f0f155e5f
2 changed files with 14 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ gulp.task('boundaries', function () {
|
|||
|
||||
gulp.task('changelog', function (cb) {
|
||||
var content = 'BR.changelog = `' + marked(fs.readFileSync('./CHANGELOG.md', 'utf-8')) + '`';
|
||||
content = content.replace(/<h1.*<\/h1>/i, '');
|
||||
fs.writeFile(paths.dest + '/changelog.js', content, cb);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue