How do you post html& java questions? | XM Community
Skip to main content
Hi all, I have silly question regarding how to post the html and java questions in the community. I never manage to post them... Every time I type the lines that would go in html form, the lines disappear when I post the comment and there is a blank space (the computer reads the html code). I tried putting the code lines between quotation marks, but doesn't help. On the other hand, when I write the js code, I don't get the automatic change of color, bold words ... in the code, which makes it much easier to read for the other members. There must be a simple way, but I couldn't figure it out. How do you do it? Thank you!
Put it in 'fences' using 3 back ticks:

\\`\\`\\`

Your html or js goes here

\\`\\`\\`



and it will look like:

```

Your html or js goes here

```
Perfect, thank you!

Leave a Reply