Skip to content

Commit

Permalink
heading level
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Jul 8, 2024
1 parent f577be1 commit 50514a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextjournal/markdown/commonmark.clj
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
(-> loc (z/append-child {:type :blockquote :content []}) z/down z/rightmost))

(defmethod open-node Heading [loc ^Heading node]
(-> loc (z/append-child {:type :heading :content [] :level (.getLevel node)}) z/down z/rightmost))
(-> loc (z/append-child {:type :heading :content [] :heading-level (.getLevel node)}) z/down z/rightmost))

(defmethod open-node BulletList [loc ^ListBlock node]
(-> loc (z/append-child {:type :bullet-list :content [] :tight? (.isTight node)}) z/down z/rightmost))
Expand Down

0 comments on commit 50514a6

Please sign in to comment.