WebEx - Code Block with Syntax Highlighting in message


WebEx provide a very nice feature to message code block with syntax highlighting - it is call Markdown.

To enable Markdown, do the following

1) Click on the T icon

2) Click on the M icon

3) Click on the Markdown enabled checkbox

Or to simplify all step

1) Click "Ctrl+m"


Once the T icon become M (below is example), Markdown is enabled



Once you have markdown, you could provide code block with syntax highlighting as follow



Below is an example

``` C++
int main() {
cout << "Hello World!";
return 0;
}
```


Note the following

` - this is a back-tick and NOT single quote
Use 'Shift + Enter' for new line
language is optional - currently it supports only 16 languages: markup, css, clike, javascript, c, c++, c#, docker, git, java, json, objective-c, perl, powershell, python and swift.


 

Comments

Popular Posts