Skip to content

Commit 7baa8ec

Browse files
committed
updated md slide separator regex hakimel#929
see hakimel#929 (comment)
1 parent 381adb0 commit 7baa8ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/markdown/markdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
});
2727
}
2828

29-
var DEFAULT_SLIDE_SEPARATOR = '^\n---\n$',
29+
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$',
3030
DEFAULT_NOTES_SEPARATOR = 'note:',
3131
DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\\.element\\\s*?(.+?)$',
3232
DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\\.slide:\\\s*?(\\\S.+?)$';

0 commit comments

Comments
 (0)