1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix md viewer line breaks when copying

-set white-space to normal to remove extra space between lines
This commit is contained in:
Leo Lam
2017-04-26 19:37:12 -04:00
parent 941c4aeb19
commit b35953d1f9
2 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ var md = markdownit({
linkify: true,
html: true,
xhtmlOut: true,
breaks: true,
highlight: function (str, lang) {
if (lang === 'flowchart') {
return `<pre class="flowchart">${str}</pre>`