Code Block

The Code Block lets you display preformatted code with syntax highlighting, making it ideal for sharing code snippets in tasks or notes.

#Inserting a Code Block

You can insert a code block in two ways:

  1. Using the Command Menu

    • Start typing / on a new line.
    • Choose Code Block from the menu.
  2. Using Backticks

    • Type three backticks (```) on a new line.
    • Press Enter to insert the code block.

#Language Selection

Each code block includes a language selector in the top-right corner. Select the programming language you want to highlight for more readable and colorful syntax.

Supported languages include (but are not limited to): JavaScript, TypeScript, HTML, CSS, JSON, Python, PHP, Ruby, Go, and more.