Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment