15 Replies
please summarize your problem here
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
!codeblock
How to Send Code Blocks
Surround the code in three backticks
If using new lines, a file extension can be placed directly after the first 3 backticks to highlight in that language. An example is shown below, highlighting code in arduino. The backtick key is typically found to the left of the 1 key.

Arduino Bot • Submit bugs on GitHub!
...makes your code a lot easier to read 😉
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I use ```js [return] before the code, then ``` after the code, to get the colored highlighting in the code block
hmmm....yeah, it could be that it's sending ASCII characters '1' and '2', but that'd be kinda weird
they're "backticks", not "apostrophes" ... if you're on a computer, it's the key to the left of the '1' key
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ASCII "1" is hex 0x31
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
single characters use ' ', strings of characters use " "
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
np!
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
lol, now you better understand what I meant with my explanation of the differences between
1
, '1'
, and "1"
ty, I was failing to remember that today, for whatever reason.