enhance: align center bullets and headings

This commit is contained in:
Tienson Qin
2021-05-02 11:14:01 +08:00
parent 2cca6a46cf
commit 9a8b00a849
5 changed files with 21 additions and 14 deletions

View File

@@ -446,7 +446,10 @@
(remove string/blank?))
block (second block)
block (if markdown-heading?
(assoc block :level 1 :heading-level (:level block))
(assoc block
:type :heading
:level 1
:heading-level (:level block))
block)
level (:level block)
[children current-block-children]