Hi all -
Can you please let me know how I can include a snippet of HTML in messages for feedback?
Every time I try to add a small code of HTML for evaluation the coding disappears and is not visible in the message =(
Thank you!
Hi all -
Can you please let me know how I can include a snippet of HTML in messages for feedback?
Every time I try to add a small code of HTML for evaluation the coding disappears and is not visible in the message =(
Thank you!
@JES ah, you are asking how to put code inside discourse posts without it disappearing?
If it is an inline bit of code, you can put it inside two backtick characters (`).
So for example <my-code>
If it is a block of code, you can put it between two lines of three backtick characters
So for example
Line of code put inside two lots of three backticks
If it is a complete code example, it is porbably better to put it inside an online code editor app like codepen, glitch, or jsfiddle.
Thank you so much, this fixed the problem!