diff options
author | 2023-11-18 14:57:17 -0500 | |
---|---|---|
committer | 2023-11-18 14:57:17 -0500 | |
commit | 4d1ba104374a1d53014f384a5b248ec48e89c6bb (patch) | |
tree | ee20725aaa1e1d66f432284d0451ec3d03b7d9f8 | |
parent | Bump 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.md | 4 |
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. |