updated md slide separator regex #929

see https://github.com/hakimel/reveal.js/issues/929#issuecomment-80738837
This commit is contained in:
Hakim El Hattab 2015-03-16 08:54:58 +01:00
parent 381adb0d1d
commit 7baa8ec1fe

View file

@ -26,7 +26,7 @@
});
}
var DEFAULT_SLIDE_SEPARATOR = '^\n---\n$',
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$',
DEFAULT_NOTES_SEPARATOR = 'note:',
DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\\.element\\\s*?(.+?)$',
DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\\.slide:\\\s*?(\\\S.+?)$';