mirror of https://github.com/status-im/codimd.git
Fix speaker note separator regex should only take effect on the line start
This commit is contained in:
parent
ca95901204
commit
48f8378335
|
@ -18,7 +18,7 @@ import { md } from './extra'
|
||||||
}
|
}
|
||||||
}(this, function () {
|
}(this, function () {
|
||||||
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$'
|
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_ELEMENT_ATTRIBUTES_SEPARATOR = '\\.element\\s*?(.+?)$'
|
||||||
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'
|
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue