add newline after rendered headers

This commit is contained in:
James Brumond 2023-08-19 14:23:59 -07:00
parent 43e15a90a9
commit 02b9e94d3e
Signed by: james
GPG Key ID: E8F2FC44BAA3357A

View File

@ -37,7 +37,7 @@ function heading(renderer: marked.Renderer, opts: MarkdownOptions) {
+ `\n\t</a>`;
}
return `\n<h${level} ${html_attrs.join(' ')}>\n\t${text}\n</h${level}>`;
return `\n<h${level} ${html_attrs.join(' ')}>\n\t${text}\n</h${level}>\n`;
};
}