Skip to content

Commit

Permalink
md-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Oct 22, 2024
1 parent 9fdc77e commit 81ca680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docy/markdown.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
(reset! md-hiccup-a [:div "erorr: could not load hiccup-md"]))))
(reset! md-loaded-a md-name)
nil)
[:div
[:div.m-5
[:h1 "docs for: " md-name]
@md-hiccup-a]))

(defn docy-markdown-page [{:keys [route-params] :as route}]
(fn [{:keys [query-params] :as route}]
(let [{:keys [md]} query-params]
[:div.bg-green-500.p-5.h-screen.w-screen.prose ; .prose is important
[:div.bg-green-500.h-screen.w-screen.prose ; .prose is important
[:link {:href "/r/docy/prose.css"
:rel "stylesheet"
:type "text/css"}]
Expand Down

0 comments on commit 81ca680

Please sign in to comment.