mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
Merge remote-tracking branch 'upstream/master' into whiteboards
This commit is contained in:
@@ -1895,7 +1895,14 @@
|
||||
priority (priority-cp t)
|
||||
tags (block-tags-cp t)
|
||||
bg-color (:background-color properties)
|
||||
heading (:heading properties)
|
||||
;; `heading-level` is for backward compatiblity, will remove it in later releases
|
||||
heading-level (:block/heading-level t)
|
||||
heading (or
|
||||
(and heading-level
|
||||
(<= heading-level 6)
|
||||
heading-level)
|
||||
(:heading properties))
|
||||
heading (if (true? heading) 2 heading)
|
||||
elem (if heading
|
||||
(keyword (str "h" heading
|
||||
(when block-ref? ".inline")))
|
||||
|
||||
Reference in New Issue
Block a user