Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 1, 2024
1 parent 7466d48 commit 58c1ebd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions demo/nextjournal/clerk/markdown_editor.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@
(.of keymap clojure-mode/complete-keymap)
(.theme EditorView theme)]

#_#_#_#_#_#_on-change
on-change
(conj (on-change-ext on-change))

(= :clojure lang)
(conj (.-extension clojure-lang))

(= :markdown lang)
(conj (markdown #js {:base markdownLanguage
:defaultCodeLanguage clojure-lang}))))]
;; (= :markdown lang)
;; (conj (markdown #js {:base markdownLanguage
;; :defaultCodeLanguage clojure-lang}))
))]
(hooks/use-effect
(fn []
(let [editor-view* (code/make-view (code/make-state doc extensions) @!editor-el)]
Expand Down

0 comments on commit 58c1ebd

Please sign in to comment.