Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit ef90437

Browse files
authored
add vertical separator '--'
1 parent 181d993 commit ef90437

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static/js/slides.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ function highlightAnyCodeBlocks() {
8686
function insertMarkdownReference() {
8787
var markdownReference = $('<section/>', {
8888
'data-markdown': "/slides.md",
89-
'data-separator': "^-( *)-( *)-( *-*)*",
89+
'data-separator': "^---\n",
90+
'data-separator-vertical': "^--\n",
9091
'data-separator-notes': "^Note:",
9192
'data-charset': "utf-8"
9293
});

0 commit comments

Comments
 (0)