aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steele Farnsworth <[email protected]>2023-11-18 14:57:17 -0500
committerGravatar Steele Farnsworth <[email protected]>2023-11-18 14:57:17 -0500
commit4d1ba104374a1d53014f384a5b248ec48e89c6bb (patch)
treeee20725aaa1e1d66f432284d0451ec3d03b7d9f8
parentBump python-frontmatter from 1.0.0 to 1.0.1 (#2812) (diff)
Capitalize "Discord" in header; Change print statement to 'Code goes here on a new line'
Some users mistakenly put the `py` on a different line than the backticks, or put the code on the same line as the `py`. This is intended to subtly prompt readers not to do this.
-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 c2b77637e..46e6ffc46 100644
--- a/bot/resources/tags/codeblock.md
+++ b/bot/resources/tags/codeblock.md
@@ -1,11 +1,11 @@
---
embed:
- title: "Formatting code on discord"
+ title: "Formatting code on Discord"
---
Here's how to format Python code on Discord:
\`\`\`py
-print('Hello world!')
+print('Code goes here on a new line')
\`\`\`
**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.