mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 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:
@@ -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++ {
|
||||
|
||||
Reference in New Issue
Block a user