It would be nice to be able to paste in Asana snippets of code (for example in Python or Javascript) and be able to format it in some way. Maybe using the github markdown or something similar.
We work on very technical projects, and it would be really nice to see snippets of code properly represented .
You can have code displayed in a monospace in the task Description and in comments. To do so, highlight the code and press ⌘+Shift+M (Mac) or Ctrl+Shift+M (Windows). Fortunately, it also keeps the code properly spaced, because both the Description and comments are set to white-space: pre-wrap. It looks like this:
Just found a problem with using this method. Any URLs added to the monospace text will not take on the monospace format, because Asana auto-creates a link out of it. Relative links will still be monospace, of course, but full links will not.
+1 We just need a dedicated way to add snippets of code, as you requested, @alfonsomoure.
As an engineer I would appreciated if you add triple back-ticks and simple back-tick in the comments and everywhere I could input text.
` this is a highlight really similar to Slack does it `
```javascript
// This is a code block of JS
console.log(“hello world”)
This is really painful right now for us to communicate properly using Asana.
```