Skip to content

Instantly share code, notes, and snippets.

@mpneuried
Created August 7, 2015 19:00
Show Gist options
  • Save mpneuried/0b5272cb74e46b43c833 to your computer and use it in GitHub Desktop.
Save mpneuried/0b5272cb74e46b43c833 to your computer and use it in GitHub Desktop.
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