I can’t type code in forum window, How can I reply or message with my code?
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
Can you explain what is/isn’t happening, or what you expect to happen? “code” is just characters, literally the same as you typing there (var x = 7, function foo), so I’m a bit confused as to what the issue is: do you mean highlighted code?
When you enter a code block into a forum post, if you precede it with a separate line of three backticks and follow it with a separate line of three backticks it makes it easier to read. Or you can also use the “preformatted text” tool in the editor ( </>
) to add backticks around the text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
thank you for your help. I tried with out them. so I can’t type characters like below.
</>, ",",
<html>
<a href = "asdf"></a>
</html>
if with out backticks, it’s looks like below.
</>,","
Yes. You need to use the backticks for code in the forum.