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

This commit is contained in:
Hakim El Hattab committed 2023-08-06 14:02:55 +02:00
1 parent da5682ce51
commit 92ee97fbfe
3 files changed
+3 -3

No files matched your search

+1 -1
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.+?)$';