Markdown support and syntax highlighting

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:

``program language

There is a example picture:

Thank you for reading! Have a nice day.

9 Likes

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. :+1:

6 Likes

Yes. Thank you! :slight_smile:

2 Likes

When will TS5 be localized?

2 Likes

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

3 Likes

Yes, there’s something in it. But if a server that deals with this things, it can be useful there.

4 Likes

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.

5 Likes

This is a great idea. I’m looking forward for it :wink:

2 Likes

Thank you! :slight_smile:

1 Like

Also like this suggestion!

2 Likes

You can do the following to make this work:

  1. Type ``` to start an inline code block
  2. Type your language, e.g., js
  3. use Shift+Enter for a newline
  4. Insert your code

I guess we can improve this experience!

6 Likes