News for hackers. Stuff that matters.
Re:Slack Overflow by Cthulhu_ on Tuesday January 28, 2025 @10:38AM (#42853534)
A few theories.

- Tech debt, they can't easily add or change features anymore

- Performance, rendering syntax highlighted markdown in messages is too expensive

- Performance optimization, by not having syntax highlighting they encourage people to create snippets instead, which goes to different backends and lazily loaded clientside rendering pipelines to support larger files and syntax highlighting.

Re:Slack Overflow by andreif on Tuesday January 28, 2025 @11:50AM (#42854551)
So I have to upload files to enable syntax highlighting. There is probably a reason but the users frustration is helping them to look for alternatives.
Re:Slack Overflow by culi on Tuesday January 28, 2025 @12:35PM (#42855259)
> Tech debt, they can't easily add or change features anymore

It's this. I've worked on Slack applications and you can clearly see why they might struggle to implement this given the data structure of their messages. Their brand of markup is also quirky and it might be difficult to add this feature in a backwards compatible way

Snippets was added much later and part of me feels like the demand for syntax highlighting was exactly why they added snippets. It's also a scapegoat for them not adding syntax highlighting to regular messaging