1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Add info on <pre> tags to markdown reference and style guide (#35111)

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
This commit is contained in:
Ethan Palm
2023-02-27 13:24:58 -08:00
committed by GitHub
parent 545a80b81c
commit 02539ccfb4
2 changed files with 2 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ Within code blocks:
- Do not use markup before the command output.
- Only use `$` before the command itself if youre showing the commands output in the same block.
- If your code example includes `{` or `}` that should render, wrap that section in `{% raw %}` `{% endraw %}` to disable Liquid processing for that section.
- If your code example includes content that should be parsed (for example, HTML tags to format text), wrap that section in `<pre>` `</pre>` tags to parse rather than escape the content in the section.
- **Use**:
```