Sign up ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

When I try to paste code in Trello, I get very weird formatting after saving, but it seems like it does format for code, I just can't get it to work right. What is the best way to paste code into Trello?

Currently I'm just putting links to Gist, but I would prefer to just paste it straight in there.

share|improve this question

3 Answers 3

Either surround the code by backticks (`) for smaller segments of code, or make sure that each line begins with a tab or at least four spaces.

share|improve this answer
up vote 1 down vote accepted

Finally found the answer here:

using markdown is outdated, its not as easy as just using Gist haha, think I'll keep that route... they should really work on their tools.

share|improve this answer
I don't feel that merely because someone feels Tool-A is "not just as easy as" Tool-B that that makes Tool-A "outdated" and worthless. I happen to love Markdown, and it is used by far more tools than Gist. Plus, Gist is aimed really at CODE -- Markdown is aimed at DOCUMENTATION. Two different tools. –  Bane May 7 at 17:00

Include formatted code by wrapping it in three backticks (```) at the beginning and end of the block, or by starting a line with four spaces. Note that the triple backticks have to be on a separate line and ensure you have a blank line before and after the code block.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.