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

This commit is contained in:
Daniel 2024-04-27 18:20:40 +08:00
parent 321bba6aa0
commit b934568eba
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1193,6 +1193,10 @@ func convertWikiLinksAndTags0(tree *parse.Tree) {
}
func convertTags(text string) (ret string) {
if !util.MarkdownSettings.InlineTag {
return text
}
pos, i := -1, 0
tokens := []byte(text)
for ; i < len(tokens); i++ {