site logo

Tettra Help Docs

Working with Code Blocks

Working with code blocks in a Tettra page can involve changing the language, exiting the code block, or deleting it entirely.


Changing the language for syntax highlight

 Click the top right of the code block and select the language you prefer.

 

OexbWCJx2mllfyzmUTNO4ExPLHdkX4KxnkWJLWtE.gif


Exiting a code block

To exit a code block, press [Enter] twice on an empty line.

 

wCbik0ov6jmCsLFVs47xzoxlpSgzFWs2J7Ji9G5V.gif


Deleting a code block

To delete a code block, delete all content, then hit backspace.

 

bj6cmiwJWOdnf6XjUsjc1uVaMz2Vex1YFB9mhvPm.gif