because slack doesn't support syntax highlighting, remove the
kt
part after the backticks
r
Ray Rahke
02/20/2024, 9:25 AM
still
j
Johann Pardanaud
02/20/2024, 9:27 AM
the wysiwyg editor is probably lost, try to erase and rewrite the backticks
k
Klitos Kyriacou
02/20/2024, 9:55 AM
I don't know if it's dependent on environment, but I use the Slack app on Linux, and when I paste some text that contains backticks it asks me if I want to apply formatting.
j
Johann Pardanaud
02/20/2024, 9:56 AM
that is an option available on every environments 😉
k
Klitos Kyriacou
02/20/2024, 9:57 AM
It's also possible to paste Kotlin code, though I hear it's not always reliable: