How to put code | XM Community
Solved

How to put code

  • 4 October 2018
  • 4 replies
  • 44 views

Userlevel 3
Badge +1
I am trying to post code, but it does not appear. How people write code here.
icon

Best answer by PeeyushBansal 4 October 2018, 15:19

View original

4 replies

Userlevel 7
Badge +33
`code` you have to put your code in ``

It will appear like `Your Code`
Userlevel 7
Badge +27
To do a code block put your code in fences - which is three backticks:
\\`\\`\\`
code goes here
\\`\\`\\`

Which looks like:
```
code goes here
```
Userlevel 3
Badge +1
Thanks Tom and Bansal
Userlevel 7
Badge +33
You can also do by clicking this button as in image

!

Leave a Reply