Inserting Code Blocks
There are three ways to insert a code block in a Tettra page:
Via the insert controls
Navigate to a page and press the add icon on the left of an empty line to bring up the insert menu. Press Code for a code block.
Learn more about the insert controls feature here.
Via the highlight controls
If you want to convert some text to a code block, you can use the highlight controls feature. Just highlight the text and the menu will show up. After which, click the code icon.
Learn more about the highlight controls feature here.
Via auto-markdown (backticks ```)
You may also start a new code block by typing 3 backticks (```) followed by [Space] or [Enter].