mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix: minimum auto heading level
This commit is contained in:
committed by
Tienson Qin
parent
3c8a9afc85
commit
ed1dcb9e7e
@@ -1907,7 +1907,7 @@
|
||||
(<= heading-level 6)
|
||||
heading-level)
|
||||
(:heading properties))
|
||||
heading (if (true? heading) (min level 6) heading)
|
||||
heading (if (true? heading) (min (inc level) 6) heading)
|
||||
elem (if heading
|
||||
(keyword (str "h" heading
|
||||
(when block-ref? ".inline")))
|
||||
|
||||
Reference in New Issue
Block a user