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

Merge pull request #512 from LeoLamCY/fix-md-viewer-line-breaks

Fix md viewer line breaks when copying
This commit is contained in:
Kazu Yokomizo
2017-04-29 14:09:23 +09:00
committed by GitHub
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>`