@profil: devcards 0.2.1 requires react 14
@joshfrench: there is a :classname option and if you inspect the dom you will see that the ns is added as a classname.
anyone have an idea how to get nested lists to work in markdown in a devcard? It seems to elide the leading space and my bullet lists end up flat
@tony.kay: sorry I made some decisions allow you to indent the whole block of documentation. Currently its not smart enough to allow nested buttleted lists.
The code is there if you want to have a go.
@bhauman: point me to the right spot, and I just might :simple_smile:
https://github.com/bhauman/devcards/blob/master/src/devcards/util/markdown.cljs
@tony.kay: ^
thanks
@bhauman: You mind if I file this as an issue and assign it to myself?
I'll work on it, but in the middle of other things
@tony.kay: sounds good, my only concern is that I don't want to break everyones markdown
yep. I'll sense the left edge.
everyone being about 20 people I guess
I'm betting it is a lot more
@tony.kay: the left edge may be ragged for some folks because its currently forgiving.
I was going to just run through the lines and find the first one that starts a bullet, and record that as the "left edge" of bullets...then trim those by that
oh perfect
(trim just the bullet items that way)
k. Will do. You need a CA or anything for a PR?
@tony.kay: nope just willingness to participate
:simple_smile:
excited to :simple_smile:
Writing an Om tutorial in devcards as we speak
sweet!
@bhauman: Can I define a card (with hidden) then render it later in the doc?
trying to show the source of a card with mkdn-pprint-source
and then show the card
Can you get the source of a card??
or that
I didn't think that was possible
I can get the source of a card
oh wow
cool
but only if it is earlier in the doc
:simple_smile:
emergent design
lol
I dont' think you can do that
oh wait
well you can't do that, but I have been thinking about including/referencing cards and namespaces of cards from other namespaces
you're right, I was mistaken. I'm not able to do that :simple_smile:
well that makes it easier
I confused myself by having typed it into the doc string
@bhauman: Looks like devcards mkdn-pprint-source can't handle #js reader tag. Hints on hacking that? I'm just using clj->js for now
but that makes for bad example code to show users :simple_smile: