aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-12-14 22:01:16 +0100
committerGravatar Numerlor <[email protected]>2020-12-14 22:01:16 +0100
commit93fb7413e7f98ced1a56f5dc00aea363e7a16625 (patch)
tree7f149e8574c6a4744f0d2f77a7d213045f135b8b
parentRevert "Comma separators in metricity data in user command" (diff)
Fix codeblock escape
On some devices the previous escaping didn't work properly, escaping all backticks will make sure none of them get registered as Markdown
-rw-r--r--bot/resources/tags/codeblock.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/resources/tags/codeblock.md b/bot/resources/tags/codeblock.md
index 8d48bdf06..ac64656e5 100644
--- a/bot/resources/tags/codeblock.md
+++ b/bot/resources/tags/codeblock.md
@@ -1,7 +1,7 @@
Here's how to format Python code on Discord:
-\```py
+\`\`\`py
print('Hello world!')
-\```
+\`\`\`
**These are backticks, not quotes.** Check [this](https://superuser.com/questions/254076/how-do-i-type-the-tick-and-backtick-characters-on-windows/254077#254077) out if you can't find the backtick key.