dwim: checkbox support

This commit is contained in:
leizhe
2021-09-30 08:30:41 +09:00
committed by Tienson Qin
parent e3dba2a1fa
commit 0545cf2855
2 changed files with 5 additions and 4 deletions

View File

@@ -2313,7 +2313,7 @@
"block-ref" (open-block-in-sidebar! (:link thing-at-point))
"page-ref" (route-handler/redirect-to-page! (:link thing-at-point))
"list-item"
(let [{:keys [full-content indent bullet ordered]} thing-at-point
(let [{:keys [full-content indent bullet ordered _]} thing-at-point
next-bullet (if ordered
(str (inc bullet) ".")
bullet)]