Fix line break formatting in Client-Text-Formatting.md

This commit is contained in:
ducksel 2025-11-20 14:40:59 -06:00
parent 72eac36477
commit fe057c4b05

View file

@ -14,17 +14,17 @@ If a message does not begin with `[bb]` and end with `[/bb]`, the message is ass
- The `LaTeX` tag formats its contents using a TeX or LaTeX parser. - The `LaTeX` tag formats its contents using a TeX or LaTeX parser.
Parameters: The one parameter this tag accepts is the mode of the LaTeX. Parameters: The one parameter this tag accepts is the mode of the LaTeX.
This can be inline or block. You may shorten these to `i` and `b` if you'd like. This can be inline or block. You may shorten these to `i` and `b` if you'd like.
If neither is specified, the client will choose one, assuming that LaTeX means block and all aliases mean inline. If neither is specified, the client will choose one, assuming that LaTeX means block and all aliases mean inline.
Examples: Examples:
- `[LaTeX=i]e^{i\pi}[/LaTeX]` -> The contents formatted as inline LaTeX - `[LaTeX=i]e^{i\pi}[/LaTeX]` -> The contents formatted as inline LaTeX
- `[LaTeX]\frac{\biggr B^{lo}}{ck}[/LaTeX]` -> The contents formatted as a block of LaTeX - `[LaTeX]\frac{\biggr B^{lo}}{ck}[/LaTeX]` -> The contents formatted as a block of LaTeX
Aliases: `TeX`, `math` Aliases: `TeX`, `math`
- The `sp` tag makes text spoilered (hidden till interacted with). - The `sp` tag makes text spoilered (hidden till interacted with).
Example: `[sp]hidden[/sp]` -> a box you can interact with --(interaction)--> "hidden" Example: `[sp]hidden[/sp]` -> a box you can interact with --(interaction)--> "hidden"
Aliases: `sp`, `h`, `hidden`, `spoiler` Aliases: `sp`, `h`, `hidden`, `spoiler`
- The `icode` tag is equivalent to the `code` tag, except for being displayed inline. Essentially, this is the equivalent of Markdown's single and double backtick formatters. - The `icode` tag is equivalent to the `code` tag, except for being displayed inline. Essentially, this is the equivalent of Markdown's single and double backtick formatters.
Parameters: The one parameter this tag accepts is optionally the language the code is in. Parameters: The one parameter this tag accepts is optionally the language the code is in.
Example: `[code=ruby]puts "Hello, world!"[/code]` Example: `[code=ruby]puts "Hello, world!"[/code]`
### Other BBCode implementation notes ### Other BBCode implementation notes