From 4e358cd6f43b2693e0a6f2cc08cdff16bf0209a5 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Fri, 25 Sep 2015 18:10:36 +0800 Subject: Added back missing list item custom parsing --- public/js/extra.js | 4 ++-- public/js/syncscroll.js | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'public') diff --git a/public/js/extra.js b/public/js/extra.js index d5df6a6d..2a43268e 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -429,8 +429,8 @@ var md = new Remarkable('full', { typographer: true, highlight: highlightRender }); -md.renderer.rules.list_item_open = function (/* tokens, idx, options, env */) { - return '
  • '; +md.renderer.rules.list_item_open = function ( /* tokens, idx, options, env */ ) { + return '
  • '; }; md.renderer.rules.blockquote_open = function (tokens, idx /*, options, env */ ) { return '
    \n'; diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js index 143e668e..01bc7d78 100644 --- a/public/js/syncscroll.js +++ b/public/js/syncscroll.js @@ -31,6 +31,15 @@ md.renderer.rules.bullet_list_open = function (tokens, idx /*, options, env */ ) return '