From ef90437d88d3156cf7103a356f67a41e733b3a4a Mon Sep 17 00:00:00 2001 From: servusoft Date: Sun, 18 Feb 2018 01:07:30 +0100 Subject: [PATCH] add vertical separator '--' --- static/js/slides.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/slides.js b/static/js/slides.js index 36e79d2..234a298 100644 --- a/static/js/slides.js +++ b/static/js/slides.js @@ -86,7 +86,8 @@ function highlightAnyCodeBlocks() { function insertMarkdownReference() { var markdownReference = $('
', { 'data-markdown': "/slides.md", - 'data-separator': "^-( *)-( *)-( *-*)*", + 'data-separator': "^---\n", + 'data-separator-vertical': "^--\n", 'data-separator-notes': "^Note:", 'data-charset': "utf-8" });