Skip to content

Commit

Permalink
Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Jul 3, 2024
1 parent bc356f5 commit c1b60ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/nextjournal/markdown/transform.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,11 @@ par two"
(reduce (partial write-row column-widths) c body)
(write c new-line))))

;; md text renderers
;; ## Markdown Text Renderers
;; Dispatch on types, holds renderers
;;
;; { Type : Ctx -> Node -> Ctx }
;;
(def default-md-renderers
{:doc (block write-child-nodes)
:toc (fn [ctx n] ctx) ;; ignore toc
Expand Down

0 comments on commit c1b60ca

Please sign in to comment.