aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-03-16 08:54:58 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-03-16 08:54:58 +0100
commit7baa8ec1fe2cd0d09ee6c034e6ebd7a07ee317c4 (patch)
tree5de00aea2a36d2700d3106f754fba987eab42866 /plugin
parent381adb0d1da67147f9ee7de4bd28232a57de6f0a (diff)
downloadperl-software-in-gnu-guix-7baa8ec1fe2cd0d09ee6c034e6ebd7a07ee317c4.tar
perl-software-in-gnu-guix-7baa8ec1fe2cd0d09ee6c034e6ebd7a07ee317c4.tar.gz
updated md slide separator regex #929
see https://github.com/hakimel/reveal.js/issues/929#issuecomment-80738837
Diffstat (limited to 'plugin')
-rwxr-xr-xplugin/markdown/markdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index 4847c7a..ca692e3 100755
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -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.+?)$';