You can specify the program language when entering the code. For example, if you entered a JavaScript code, you could start the message with:
``js
Or, if you entered a Python code:
``py
Etc…
The syntax would be the same as the program language, and over the code(message) will appear the program language name. TeamSpeak would recognize the program language from:
You are talking about extended Markdown support and syntax highlighting. That would be nice. Mattermost has it too and it’s very useful for exchanging smaller code snippets.
Pretty cool idea, but there would be probably a way too small group of people that would really use this.
Sharing a code to a friend should be fine by just writing “this is C#” and for any professional usecase there are actually better ways to share code
Think about modding computer games or even just editing game server config files and you immediately have use cases where TeamSpeak users would benefit from being able to exchange code with syntax highlighting.
And since there are free JavaScript based syntax highlighting libraries available, TeamSpeak could probably just use one of those.