1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-12 09:35:14 +02:00

update markdown default notes separator to ignore inline occurances of 'notes:', closes #1915, closes #2762

This commit is contained in:
Hakim El Hattab
2023-08-06 14:02:13 +02:00
parent da5682ce51
commit 92ee97fbfe
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,7 @@ import { marked } from 'marked';
const DEFAULT_SLIDE_SEPARATOR = '\r?\n---\r?\n',
DEFAULT_VERTICAL_SEPARATOR = null,
DEFAULT_NOTES_SEPARATOR = 'notes?:',
DEFAULT_NOTES_SEPARATOR = '^\s*notes?:',
DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\\.element\\\s*?(.+?)$',
DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\\.slide:\\\s*?(\\\S.+?)$';