mpneuried
8/7/2015 - 7:00 PM

Export a trello board to markdown. Will generate H2 with list titles and a list element with every card name

Export a trello board to markdown. Will generate H2 with list titles and a list element with every card name

txt = []
$( ".list" ).each ( idx, tbl )->
    txt.push "\n## " + $(tbl).find( "h2" ).text() + "\n"
    $(tbl).find( ".js-card-name" ).each (idx, card)->
        txt.push "- " + card.lastChild.data
    
txt.join( "\n" )