mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-13 10:44:20 +01:00
🎨 Improve backlink panel expansion configuration https://github.com/siyuan-note/siyuan/issues/11262
This commit is contained in:
parent
032db177d3
commit
7771490175
2 changed files with 6 additions and 6 deletions
|
|
@ -249,11 +249,11 @@ func InitConf() {
|
|||
if conf.MaxDynamicLoadBlocks < Conf.Editor.DynamicLoadBlocks {
|
||||
Conf.Editor.DynamicLoadBlocks = conf.MaxDynamicLoadBlocks
|
||||
}
|
||||
if 0 > Conf.Editor.BacklinkExpandCount {
|
||||
Conf.Editor.BacklinkExpandCount = 0
|
||||
if -1 > Conf.Editor.BacklinkExpandCount {
|
||||
Conf.Editor.BacklinkExpandCount = -1
|
||||
}
|
||||
if 0 > Conf.Editor.BackmentionExpandCount {
|
||||
Conf.Editor.BackmentionExpandCount = 0
|
||||
if -1 > Conf.Editor.BackmentionExpandCount {
|
||||
Conf.Editor.BackmentionExpandCount = -1
|
||||
}
|
||||
if nil == Conf.Editor.Markdown {
|
||||
Conf.Editor.Markdown = &util.Markdown{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue