Quantcast
Viewing all articles
Browse latest Browse all 26681

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

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
Image may be NSFW.
Clik here to view.

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 26681

Trending Articles



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