Number lists not appearing in comments as expected
Asked by matthewmcguff:

I am using the Windows Client of Trello 2.11.5 but was able to reproduce the following issue in desktop but not in Android app 2020.8.14111-candidate.

Note the following card:

![trello-card-before-comment-save.png](https://community.atlassian.com/t5/image/serverpage/image-id/98297i76C386B84B9FEFFC/image-dimensions/411x438?v=v2 "trello-card-before-comment-save.png") Then notice what happens to 1 2 and 3 after you save:

![trello-card-after-comment-save-with-issue.png](https://community.atlassian.com/t5/image/serverpage/image-id/98300i5D4282E218BF0ABD/image-dimensions/399x424?v=v2 "trello-card-after-comment-save-with-issue.png") If you edit the comment the numbers then show up correctly so it would appear to be something about the the content is being parsed that is transforming the value for display vs. actually changing the content that is saved. Not sure how to turn this into a ticket as it seems like something that needs to be addressed.

Can any test on Mac and iphone and confirm if this is happening there?


Answers:
author: Iain Dooley
body: [@matthewmcguff](/t5/user/viewprofilepage/user-id/2212479) this is because the desktop apps interpret what you enter as markdown and anything that looks like a numbered list is renumbered regardless of which numbers are actually used:

<https://help.trello.com/article/821-using-markdown-in-trello>

One simple way to get around this is to use 1) instead of 1.

comments: author: matthewmcguff
body: That works. Thanks [@Iain Dooley](/t5/user/viewprofilepage/user-id/1416112) !

While we are on the subject of markdown is there anyway to enable use of another flavor of markdown say like github markdown. I am a developer and would love to use trello for storing code snippets and code but have started looking at things like Notion instead because markdown isn't fully supported for things like code. Getting proper syntax highlighting of JavaScript, Python, Java and C# would be a big deal to me. I have gone as far as looking at adding custom scripts to my implementation of Trello but I don't want to have to do that. Do you know if there is any plans for Trello to support these things in the future?


author: Iain Dooley
body: [@matthewmcguff](/t5/user/viewprofilepage/user-id/2212479) I'd say that syntax highlighting and whatnot would be too specific a feature for Trello to implement. If you want to use Trello as a code reference library for snippets, you could use the Github API to create a secret gist then grab a link to it and put it on the card. You could automate this using Trellinator:

<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271>

The way I'd do it is:

<https://gist.github.com/iaindooley/45a93c05be83b8f77ac655b1bd65e324>

Then you have to use Google Apps Script to post to the gist API in the "implement me" bit:

<https://developer.github.com/v3/gists/#create-a-gist>

This means that in your Trello snippets library board, you could add the "Code" label to any card, then paste your code snippet into the description, it would automatically post that to gist, get a link to it and attach it to the card.


author: matthewmcguff
body: Works for me. I will setup that up then. Thanks.