the other person was saying... do you use 3 backticks on a single line to denote start and end of code? If you do, use the 3 backticks and then add js to the end of it, to mark the beginning of code, so that it will syntax highlight for JavaScript ... the end of code can just be 3 backticks
ah... or do you use four spaces in front of line to denote it is code? Doing so, it is not as easy as using 3 backticks and js to denote JavaScript... I think another method needs to be use, such as some kind of comments.
the other person was saying... do you use 3 backticks on a single line to denote start and end of code? If you do, use the 3 backticks and then add
js
to the end of it, to mark the beginning of code, so that it will syntax highlight for JavaScript ... the end of code can just be 3 backticksah... or do you use four spaces in front of line to denote it is code? Doing so, it is not as easy as using 3 backticks and
js
to denote JavaScript... I think another method needs to be use, such as some kind of comments.See dev.to/sunflower/the-only-two-valu... for the syntax highlighting of JS.