-
-
Save gorbiz/6062481 to your computer and use it in GitHub Desktop.
// ==UserScript== | |
// @name Trello card title Markdown | |
// @version 0.4.0 | |
// @homepage https://gist.github.com/gorbiz/6062481 | |
// @description Add support for bold and emphasized Markdown in card titles | |
// @match https://trello.com/b/* | |
// @match http://trello.com/b/* | |
// ==/UserScript== | |
function markdownAll() { | |
var cards = document.getElementsByClassName('list-card-title'); | |
for (var i = 0; i < cards.length; i++) { | |
cards[i].innerHTML = cards[i].innerHTML | |
.replace(/\*\*(.+?)\*\*/g, '<strong>$1</strong>') | |
.replace(/\*(.+?)\*/g, '<em>$1</em>') | |
.replace(/~~(.+?)~~/g, '<strike>$1</strike>') | |
.replace(/\`(.+?)\`/g, '<code>$1</code>'); | |
} | |
setTimeout(markdownAll, 500); | |
} | |
markdownAll(); |
Hi @gorbiz,
The script is really awesome. Thanks for this. I really like it =)
Also, I would really want to have possibility to detecting clickable links. I think it will be good upgrading.
What do you think about it?
Thanks,
Alexander
Thanks man THANK YOU SO MUCH!!!
Thanks @AlexGoncharov!
I agree completely, your request makes the first GitHub issue for this project ๐ gorbiz/trello-title-markdown#1 - will add that ASAP!
Thank YOU @rtinikan! ๐
Hi @gorbiz, is there any chance of putting another extension in Chrome? The one quoted is no longer found and those in my team that have it, found it really useful and excellent to use. It makes such a difference on the Trello board and you achieved what other extensions could not. Thank you .
Hi @JJ77JJ,
It makes me so happy to hear that you and your team find the extension useful! ๐
Looks like Google took it down (likely due to a missing description). I've resubmitted it, with some luck it will be back in a couple of days:
Thanks for letting me know about this ๐
Take care! โค๏ธ
Hi @gorbiz, hope all is good. Is there any news on getting the extension reviewed and available in Chrome? It seems to have stalled for a couple of weeks in the compliance review stage. If there is anything I can do to move things along, please let me know. Thank you :) JJ77JJ
Hi @JJ77JJ! ๐
They denied my re-submission with "Your item did not comply with the following section of our policy [Developer Program Policies]: We may remove your item if it has a blank description field, or missing icons or screenshots, and appears to be suspicious" ...I'm guessing this makes it suspicious (the other things should be there). I asked them to clarify, so we wait...
Can't think of anything else to do right now, can you? :/
Thank you! :)
Hi @gorbiz,
Thanks for the update and oh no! This is such a useful tool to enhance Trello. I can vouch to both Google and Trello that is not suspicious and improves the clarity of using the Trello and improves team understanding and performance. The old version is referenced across the internet as a valuable extension. If you need me to complete anything when they come back to you, let me know.
In the meantime, thank you for what you have done so far in trying to get the extension re-instated. :-)
looking forward to the successful submission. Really needed the bold function at trello title too. :)
Wow, so cool that I'm not alone in this desire to have markdown in Trello titles.
Thank you all for your positive words โค๏ธ And sorry for being a little late to the party.
Now in the Chrome Web Store (as reqested by @neilojwilliams, @kao17 & @wpbns):
https://chrome.google.com/webstore/detail/trello-card-title-markdow/nahpelodohninpblkcldjdohdhiahdef
https://github.com/gorbiz/trello-title-markdown <-- And a repo for forking, issues & all that
Haven't uploaded an extension to the Chrome Store before; please let me know if I got anything wrong :)