Skip to guide content
Block Reference Guide and tutorial

Use the Code Block block in Workspace

Add a block of code with syntax highlighting. Learn when to use it in a Workspace page.

2 min read242 wordsUpdated Jul 28, 2026

The Code Block block belongs to Workspace Data & Logic. Add a block of code with syntax highlighting.

What it does

Add a block of code with syntax highlighting.

When to use it

  • Organize structured information.
  • Track work, dates, decisions, or data inside a page.
  • Turn notes into a more actionable page.

How to add it

  1. Open a Workspace page where you have edit access.
  2. Type / or open Explore blocks.
  3. Choose Code Block.
  4. Fill in the content, link, file, or settings shown by the block.
  5. Use Block Settings when the block exposes additional options.

Tips

  • Do not store secrets, tokens, passwords, or private credentials in a Workspace page.
  • Use Board for draggable task workflows.
  • Use Table for row-and-column information.
  • Keep labels short so the page remains readable.

Limitations

  • You need Editor or Admin access to add or change this block.
  • Viewer access allows reading and commenting where comments are enabled, but not editing block content.
  • If the block depends on an external file, link, or service, that source must be accessible to the people viewing the page.

FAQ

What is the Code Block block for? Add a block of code with syntax highlighting.

Can Viewers edit a Code Block block? No. Viewers can view and comment only.


Top tools

WorkspaceLinksySEO AnalyzerChromoQR Code Generator

ReadyTools

CareersContactTools
Pricing7 days free
SupportSecurityGuidesDocsBlogUpdatesLaraVault

Select Language

Set theme

ReadyTools

© 2026 ReadyTools. All rights reserved.