We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5569f2c commit a2a5814Copy full SHA for a2a5814
1 file changed
bot/exts/info/codeblock/_instructions.py
@@ -5,8 +5,7 @@
5
6
log = get_logger(__name__)
7
8
-# Make sure to escape any Markdown symbols here.
9
-_EXAMPLE_PY = "{lang}\nprint('Hello, world!')"
+_EXAMPLE_PY = "{lang}\nprint('Hello, world!')" # Make sure to escape any Markdown symbols here.
10
_EXAMPLE_CODE_BLOCKS = (
11
"\\`\\`\\`{content}\n\\`\\`\\`\n\n"
12
"**This will result in the following:**\n"
@@ -37,7 +36,7 @@ def _get_bad_ticks_message(code_block: _parsing.CodeBlock) -> str | None:
37
36
38
valid_ticks = f"\\{_parsing.BACKTICK}" * 3
39
instructions = (
40
- "You are using the wrong character instead of backticks."
+ "You are using the wrong character instead of backticks. "
41
f"Use {valid_ticks}, not `{code_block.ticks}`."
42
)
43
0 commit comments