Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Whether support code(C/C++,java,js...) syntax highlighting in future?

$
0
0

Hi ttllyy,

To post code as part of a message, you can use markdown's code block. If you specify a language after the inital ```, it'll provide syntax highlighting it as well. For example,

``` javascript
function foo() {
    console.log('bar');
}
```

will show up as

Also, we actually had a community member that implemented previews for uploaded code files for our next release in May so you'll be able to use that soon.


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>