Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 20949fc

Browse files
committed
GFM line breaks
1 parent f44053d commit 20949fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoload/server/static/scripts/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@
160160
code = hljs.highlightAuto(code).value;
161161
return code.replace('code' + options.flagSign + 'code', options.aPoint);
162162
},
163-
renderer: options.renderer
163+
renderer: options.renderer,
164+
breaks: true
164165
});
165166

166167
function openConn() {

0 commit comments

Comments
 (0)