devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
bill_tozier 2016-09-14T01:54:21.000016Z

Is there any way for me to render devcards cards without the ui/breadcrumbs header on each page? In other words, is it feasible to include a (defcard-rg …) macro called as a function call in another reagent component, without having the devcards logo and file name rendered at the top of the page?

bill_tozier 2016-09-14T02:02:12.000018Z

I suppose what I’m asking here is: Can I render a single devcard anywhere outside the (devcards.core/start-devcard-ui!) interface? I’d like to be able to use the same literate style, interleaving defcard-doc cards with regular reagent components in my main app’s docs pages. Is that feasible?

anmonteiro 2016-09-14T09:59:56.000019Z

@bill_tozier: I've gone through that path to render single cards in blog posts

anmonteiro 2016-09-14T10:00:08.000020Z

Here's what I came up with: https://github.com/anmonteiro/anmonteiro.github.io/blob/master/assets/cljs/recursion-examples/core.cljs

👍 2