Skip to content

Commit 48f8378

Browse files
committed
Fix speaker note separator regex should only take effect on the line start
1 parent ca95901 commit 48f8378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/reveal-markdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { md } from './extra'
1818
}
1919
}(this, function () {
2020
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$'
21-
var DEFAULT_NOTES_SEPARATOR = 'note:'
21+
var DEFAULT_NOTES_SEPARATOR = '^note:'
2222
var DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\.element\\s*?(.+?)$'
2323
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'
2424

0 commit comments

Comments
 (0)