Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrorgirardi committed Aug 23, 2023
1 parent e1d0e9d commit 69a239f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/clojure/convex_web/site/gui.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,11 @@
{:ref highlight-element}
value]])

(defn Markdown [markdown]
(defn Markdown
"Reagent component to render Markdown using a custom code component.
`markdown` is a string."
[markdown]
[:> ReactMarkdown
{:components
{:code (r/reactify-component MarkdownCodeBlock)}}
Expand Down

0 comments on commit 69a239f

Please sign in to comment.