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

Merge pull request #1887 from o-3/master

Add configuration to render newlines as <br> or not
This commit is contained in:
Junyoung Choi (Sai)
2018-05-17 01:08:52 +09:00
committed by GitHub
10 changed files with 50 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ class Markdown {
linkify: true,
html: true,
xhtmlOut: true,
breaks: true,
breaks: config.preview.breaks,
highlight: function (str, lang) {
const delimiter = ':'
const langInfo = lang.split(delimiter)