🎨 Supports disabling Markdown syntax input for some inline elements https://github.com/siyuan-note/siyuan/issues/11141

This commit is contained in:
Daniel 2024-04-26 12:08:01 +08:00
parent 53f5b08038
commit b9f269ae85
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
17 changed files with 185 additions and 41 deletions

View file

@ -267,6 +267,10 @@ func InitConf() {
if 0 > Conf.Editor.BackmentionExpandCount {
Conf.Editor.BackmentionExpandCount = 0
}
if nil == Conf.Editor.Markdown {
Conf.Editor.Markdown = &util.Markdown{}
}
util.MarkdownSettings = Conf.Editor.Markdown
if nil == Conf.Export {
Conf.Export = conf.NewExport()