Skip to content

Commit

Permalink
Better names
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Aug 30, 2023
1 parent 317b3c0 commit a3db3ee
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/nextjournal/clerk/doc.clj
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@
(not (qualified-symbol? (symbol link))))
(str @!active-ns "/"))))

(defn spy [x] (println :x (str "'" x "'")
:t (type x)
:ns (ns-name *ns*)) x)

^::clerk/no-cache
(clerk/eval-cljs
'(defn handle-click [{:keys [label var ns]} e]
Expand Down Expand Up @@ -252,9 +248,9 @@
:render-fn 'render-link
:transform-fn get-info}])

(def custom-internal-links
(def markdown-viewer
(update viewer/markdown-viewer :add-viewers viewer/add-viewers custom-markdown-viewers))

(viewer/add-viewers! [custom-internal-links])
(viewer/add-viewers! [markdown-viewer])

#_(clerk/clear-cache!)

0 comments on commit a3db3ee

Please sign in to comment.