diff options
| author | 2020-10-26 10:02:46 -0400 | |
|---|---|---|
| committer | 2020-10-26 10:02:46 -0400 | |
| commit | 4610483e28100b4f3943612981000a9e8707e802 (patch) | |
| tree | 424867c4c32a969fe39bb0faaf2c8ccc66653335 | |
| parent | PR #1253: Allow eval in voice channels (diff) | |
Made the message significantly shorter
| -rw-r--r-- | bot/resources/tags/codeblock.md | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/bot/resources/tags/codeblock.md b/bot/resources/tags/codeblock.md index a28ae397b..2982984a3 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.** Backticks can usually be found to the left of the `1` key. |