summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-06-05 01:20:21 +0800
committerWu Cheng-Han2017-06-05 01:20:21 +0800
commit48f83783350e49cce38e2f9dee2b54f3adda69a8 (patch)
tree2647cf65f8e78462ee331d0c0b85717d4fa75a6a /public/js
parentca959012047bef3c0b2dd6f2974a8373a6615125 (diff)
Fix speaker note separator regex should only take effect on the line start
Diffstat (limited to '')
-rwxr-xr-xpublic/js/reveal-markdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/reveal-markdown.js b/public/js/reveal-markdown.js
index eca148d8..94f6fb91 100755
--- a/public/js/reveal-markdown.js
+++ b/public/js/reveal-markdown.js
@@ -18,7 +18,7 @@ import { md } from './extra'
}
}(this, function () {
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$'
- var DEFAULT_NOTES_SEPARATOR = 'note:'
+ var DEFAULT_NOTES_SEPARATOR = '^note:'
var DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\.element\\s*?(.+?)$'
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'