Docs /Using OwnBase

Formatting and code blocks

The Formatting button under the message box shows a toolbar. Select words and press a button, or use the keys:

FormatKeysAs you type it
BoldCtrl+B*bold*
ItalicCtrl+I_italic_
StrikethroughCtrl+Shift+X~struck~
Inline codeCtrl+EWrap it in single backticks
LinkCtrl+Shift+U[words](https://example.com)
Bulleted listCtrl+Shift+8Start lines with -
Numbered listCtrl+Shift+7Start lines with 1.
QuoteCtrl+Shift+9Start lines with >

Preview shows the message as it will look before you send it.

Code blocks#

Press Code block, or type three backticks on a line, your code, and three backticks to close it. To colour the code, put the language's name right after the opening backticks, on the same line, such as python. These languages get colours:

  • JavaScript (javascript, js, jsx) and TypeScript (typescript, ts, tsx)
  • JSON, HTML (html, xml, markup) and CSS
  • Python (py), Go, Rust (rs), Java, C (c, h), C++ (cpp) and C# (cs)
  • Shell (bash, sh, shell), SQL, YAML (yml) and Dockerfile (docker)
  • Diff (patch), Markdown (md), Ruby (rb) and PHP

OwnBase knows many more names, such as kotlin, swift, toml or text. It hides those and shows the code without colours. A word it does not know stays as the first line of your code.

This page is made from docs/USING.md.