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 ``` @@@