From e8ab29c9c35bcacdc46bdbc3bac7f641df703501 Mon Sep 17 00:00:00 2001 From: Yuan Date: Fri, 28 Aug 2020 19:03:14 +0800 Subject: [PATCH] More reasonable notes separator. --- plugin/markdown/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/markdown/plugin.js b/plugin/markdown/plugin.js index d92b8ba0b3c..25ed0a6b7ea 100755 --- a/plugin/markdown/plugin.js +++ b/plugin/markdown/plugin.js @@ -7,7 +7,7 @@ import marked from 'marked' const DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$', - DEFAULT_NOTES_SEPARATOR = 'notes?:', + DEFAULT_NOTES_SEPARATOR = '^notes?:', DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\\.element\\\s*?(.+?)$', DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\\.slide:\\\s*?(\\\S.+?)$';