fix: minimum auto heading level

experiment-on-whiteboard-exporting
Konstantinos Kaloutas 2022-10-14 17:27:42 +03:00 committed by Tienson Qin
parent 21a575789c
commit f081486879
1 changed files with 1 additions and 1 deletions

View File

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