How do you post html& java questions? | XM Community
Solved

How do you post html& java questions?

  • 28 March 2020
  • 2 replies
  • 8 views

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!
icon

Best answer by TomG 28 March 2020, 18:05

View original

2 replies

Userlevel 7
Badge +27
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