Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Copy trello board as markdown
http://www.secretgeek.net/trello_ws
```js
var s = [];
s.push("# " + jQuery(".board-header").children()[0].innerText);
jQuery(".list:has(.list-header-name)").each(function() {
s.push("\n## " + jQuery(this).find(".list-header-name-assist")[0].innerText + "\n");
jQuery(this).find(".list-card").each(function() {
var lne = "* " + jQuery(this).find(".list-card-title")[0].innerText
lne += " [link](https://trello.com" +this.getAttribute('href') + ")"
s.push(lne);
});
});
copy(s.join("\n"));
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment