diff options
| author | 2021-02-22 11:35:12 +0000 | |
|---|---|---|
| committer | 2021-02-22 11:35:12 +0000 | |
| commit | 1daf01ef9a3853252d4cadab5fc6abce14df3557 (patch) | |
| tree | a92e6f620f9d41deb6a3bac792b8fe3d7d778913 | |
| parent | Update max available channels to 3 (diff) | |
Rewrite inline codeblock tag
| -rw-r--r-- | bot/resources/tags/inline.md | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/bot/resources/tags/inline.md b/bot/resources/tags/inline.md index a6a7c35d6..4ece74ef7 100644 --- a/bot/resources/tags/inline.md +++ b/bot/resources/tags/inline.md @@ -1,16 +1,7 @@ **Inline codeblocks** -In addition to multi-line codeblocks, discord has support for inline codeblocks as well. These are small codeblocks that are usually a single line, that can fit between non-codeblocks on the same line. +Inline codeblocks look `like this`. To create them you surround text with single backticks, so \`hello\` would become `hello`. -The following is an example of how it's done: +Note that backticks are not quotes, see [this](https://superuser.com/questions/254076/how-do-i-type-the-tick-and-backtick-characters-on-windows/254077#254077) if you are struggling to find the backtick key. -The \`\_\_init\_\_\` method customizes the newly created instance. - -And results in the following: - -The `__init__` method customizes the newly created instance. - -**Note:** -• These are **backticks** not quotes -• Avoid using them for multiple lines -• Useful for negating formatting you don't want +For how to make multiline codeblocks see the `!codeblock` tag. |