Browse Source

add vertical separator '--'

servusoft 6 years ago
parent
commit
ef90437d88
1 changed files with 2 additions and 1 deletions
  1. 2 1
      static/js/slides.js

+ 2 - 1
static/js/slides.js

@@ -86,7 +86,8 @@ function highlightAnyCodeBlocks() {
 function insertMarkdownReference() {
     var markdownReference = $('<section/>', {
         'data-markdown': "/slides.md",
-        'data-separator': "^-( *)-( *)-( *-*)*",
+        'data-separator': "^---\n",
+        'data-separator-vertical': "^--\n",
         'data-separator-notes': "^Note:",
         'data-charset': "utf-8"
     });