Skip to content

Comment on Slack Code

Comments

We don't need this, just add syntax highlighting in code blocks.

they do have a new shiki based syntax highlighter in code blocks `rich_text_preformatted.language`

https://docs.slack.dev/reference/block-kit/block-elements/ri...

admittedly i don't think there's a way for humans to do it through the ui currently yet, e.g.,

@@@ ```lang foo ``` @@@

you can't always get what you want, sometimes you get what you don't need.

no trying required

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.