Fork me on GitHub
#devcards
<
2015-11-20
>
bhauman12:11:19

@profil: devcards 0.2.1 requires react 14

bhauman12:11:04

@joshfrench: there is a :classname option and if you inspect the dom you will see that the ns is added as a classname.

tony.kay19:11:40

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

bhauman19:11:15

@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.

bhauman19:11:52

The code is there if you want to have a go.

tony.kay20:11:53

@bhauman: point me to the right spot, and I just might simple_smile

tony.kay20:11:49

@bhauman: You mind if I file this as an issue and assign it to myself?

tony.kay20:11:59

I'll work on it, but in the middle of other things

bhauman20:11:53

@tony.kay: sounds good, my only concern is that I don't want to break everyones markdown

tony.kay21:11:09

yep. I'll sense the left edge.

bhauman21:11:10

everyone being about 20 people I guess

tony.kay21:11:17

I'm betting it is a lot more

bhauman21:11:49

@tony.kay: the left edge may be ragged for some folks because its currently forgiving.

tony.kay21:11:07

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

bhauman21:11:19

oh perfect

tony.kay21:11:23

(trim just the bullet items that way)

tony.kay21:11:45

k. Will do. You need a CA or anything for a PR?

bhauman21:11:57

@tony.kay: nope just willingness to participate

tony.kay21:11:07

excited to simple_smile

tony.kay21:11:38

Writing an Om tutorial in devcards as we speak

tony.kay21:11:35

@bhauman: Can I define a card (with hidden) then render it later in the doc?

tony.kay21:11:57

trying to show the source of a card with mkdn-pprint-source

tony.kay21:11:03

and then show the card

bhauman21:11:39

Can you get the source of a card??

bhauman21:11:11

I didn't think that was possible

tony.kay21:11:12

I can get the source of a card

tony.kay21:11:19

but only if it is earlier in the doc

tony.kay21:11:23

emergent design

bhauman21:11:36

I dont' think you can do that

bhauman21:11:21

well you can't do that, but I have been thinking about including/referencing cards and namespaces of cards from other namespaces

tony.kay21:11:35

you're right, I was mistaken. I'm not able to do that simple_smile

bhauman21:11:47

well that makes it easier

tony.kay21:11:49

I confused myself by having typed it into the doc string

tony.kay22:11:33

@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

tony.kay22:11:43

but that makes for bad example code to show users simple_smile