How do you post html& java questions? | XM Community
Skip to main content
Solved

How do you post html& java questions?

  • March 28, 2020
  • 2 replies
  • 14 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!

Best answer by TomG

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 ```

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • March 28, 2020
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 ```

  • Author
  • March 28, 2020
Perfect, thank you!