From 4d1ba104374a1d53014f384a5b248ec48e89c6bb Mon Sep 17 00:00:00 2001 From: Steele Farnsworth Date: Sat, 18 Nov 2023 14:57:17 -0500 Subject: 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. --- bot/resources/tags/codeblock.md | 4 ++-- 1 file 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. -- cgit v1.2.3