Code snippets in Asana

I don’t know if I’m in some beta or something, but I do see that “code block” for my tasks and it works as a code block. Doesn’t seem to have specific language support, which is a bit of a bummer, but it does seem to be available now? Anyone else seeing the same?

1 Like

You are not seeing things - they just added the <> code block functionality. It’s pretty basic but is there now.

I see the “code block”

You have been very helpful :+1: Have a good day.

What a glorious day! :tada: Very excited to see this finally implemented! :pray:

1 Like

Code snippets still miss the syntax highlighting :melting_face:

1 Like

Do you mean highlight errors in syntax based on the coding language used?

no, i mean syntax highlighting.

Stackoverflow:

Asana:

Asana forum:

#!/bin/bash
echo 123

Understood, thanks for clarifying.

Having a better code snippet formatting is a big win I think, people have been waiting for years, I am not sure we’ll get syntax highlighting, which requires auto-detecting the language or having a dropdown to pick it, which seems far away from the kind of stuff Asana usually does. But that’s simply my humble opinion. It would be cool for sure

1 Like

I do think it’s interesting they implemented code snippets without highlighting. I have to imagine that there are plenty of libraries (basically pre-made solutions for developers) for doing this already.