🎨 The default number of dynamically loaded blocks is adjusted from 128 to 192

This commit is contained in:
Daniel 2023-10-04 10:50:41 +08:00
parent 7ea957e94d
commit e52e5e1412
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -199,7 +199,7 @@ func InitConf() {
Conf.Editor.Emoji = []string{}
}
if 1 > Conf.Editor.BlockRefDynamicAnchorTextMaxLen {
Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 64
Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 192
}
if 5120 < Conf.Editor.BlockRefDynamicAnchorTextMaxLen {
Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 5120