orbit-client-docs/wiki/formatting.md

24 lines
825 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Order: 20
# mIRC formatting
Orbit renders and lets you compose classic IRC formatting. Use the composer's toolbar (**B** / *I* /
underline / colour), or the keyboard:
| Style | Key | Code |
|-------|-----|------|
| Bold | Ctrl/Cmd+B | `\x02` |
| Italic | Ctrl/Cmd+I | `\x1D` |
| Underline | Ctrl/Cmd+U | `\x1F` |
| Strikethrough | — | `\x1E` |
| Monospace | — | `\x11` |
| Colour | toolbar | `\x03FF,BB` |
| Hex colour | toolbar | `\x04RRGGBB` |
| Reset | — | `\x0F` |
Colours use the 99-entry **mIRC palette** (`\x03` followed by a 12 digit foreground, optionally
`,background`). Orbit's composer writes these codes for you; incoming messages from any client are
rendered with full colour and styling.
Formatting is "sticky" — turn on bold and it stays on for the next message, exactly like classic
clients.