aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-10-27 09:39:29 -0700
committerGravatar GitHub <[email protected]>2020-10-27 09:39:29 -0700
commit39c5bf62222be0f0a9d3efdf5b8b4bd287943392 (patch)
treeb55b7092a2ece8e31e0cd2e2755d8db6db521999
parentPR #1248: Set async-rediscache logging level to warning (diff)
parent"see here" -> "check this out" (diff)
Merge pull request #1257 from python-discord/code_message
Shorter `!code` message
-rw-r--r--bot/resources/tags/codeblock.md16
1 files changed, 3 insertions, 13 deletions
diff --git a/bot/resources/tags/codeblock.md b/bot/resources/tags/codeblock.md
index a28ae397b..8d48bdf06 100644
--- a/bot/resources/tags/codeblock.md
+++ b/bot/resources/tags/codeblock.md
@@ -1,17 +1,7 @@
-Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.
+Here's how to format Python code on Discord:
-To do this, use the following method:
-
-\```python
+\```py
print('Hello world!')
\```
-Note:
-• **These are backticks, not quotes.** Backticks can usually be found on the tilde key.
-• You can also use py as the language instead of python
-• The language must be on the first line next to the backticks with **no** space between them
-
-This will result in the following:
-```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.