Merge remote-tracking branch 'upstream/master' into whiteboards

This commit is contained in:
Peng Xiao
2022-09-30 08:51:05 +08:00
13 changed files with 124 additions and 97 deletions

View File

@@ -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")))