Skip to content

Instantly share code, notes, and snippets.

@EmilStenstrom
Created August 15, 2019 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmilStenstrom/5097c25685e04e1f4a2f9a0bdd9c0a3a to your computer and use it in GitHub Desktop.
Save EmilStenstrom/5097c25685e04e1f4a2f9a0bdd9c0a3a to your computer and use it in GitHub Desktop.
var s = [];
jQuery(".list:has(.list-header-name[aria-label='Kundo Knowledge'])").each(function() {
s.push("\n## " + jQuery(this).find(".list-header-name")[0].value + "\n");
jQuery(this).find(".list-card-title").each(function() {
s.push('• ' + this.innerText + ': https://trello.com' + jQuery(this).parents(".list-card").attr("href"));
});
});
console.log(s.join("\n"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment