---
gravity_agent_document: 1
document_type: "page"
page_id: "page:block-editor/code-block"
representation_of: "https://www.websitemanual.com.au/block-editor/code-block/"
canonical_html: "https://www.websitemanual.com.au/block-editor/code-block/"
title: "Code Block | Website Manual"
summary: "The Code block displays code as text in a fixed-width font, so visitors can read or copy it. It does not run the code. That makes it handy for showing a sn"
language: "en-AU"
page_role: "page"
content_intents: []
source_hash: "sha256:3f10d8bbaed9ede4833366b4d4a850e91eff55b56a32155293416df0356e5cab"
primary_entities: []
entity_refs: []
relationships: []
---

# Code Block | Website Manual

**Code Block**

The Code block displays code as text in a fixed-width font, so visitors can read or copy it.

Coming soon

We are recording a new video for this one.

## Before you finish

**Not seeing your change?**

Your browser may be showing a copy it saved earlier. Open the page in a private window, or press Ctrl + F5 to reload it fresh (Cmd + Shift + R on a Mac).

If your site has a caching plugin, clear its cache too. There is usually a button for it in the bar along the top of the dashboard. Still the old version after a few minutes? Ask whoever looks after your site to clear the server cache.

### Good to know

The Code block displays code as text in a fixed-width font, so visitors can read or copy it. It does not run the code. That makes it handy for showing a snippet, a setting or a command in a help article.

Code that needs to run on the page, such as a tracking script or a booking widget, belongs in a Custom HTML block or in your site settings, usually set up by whoever manages your website.

### Up next

- [Code BlockPlaying](/block-editor/code-block/)
- [Custom HTML BlockComing soon](/block-editor/custom-html-block/)
- [Preformatted BlockComing soon](/block-editor/preformatted-block/)
- [Pullquote BlockComing soon](/block-editor/pullquote-block/)
- [Table BlockComing soon](/block-editor/table-block/)
- [Classic BlockComing soon](/block-editor/classic-block/)
- [Verse BlockComing soon](/block-editor/verse-block/)

MerlinFX client? [Ask for this task recorded on your own site](https://www.websitemanual.com.au/request-a-recording/?video=code-block#request).

### You needed to change one thing. Now you are learning the editor again.

Your website should be handled. Not handed back to you.

[Read: Why websites shouldn't be handed back](https://merlinfx-website.pages.dev/articles/why-websites-shouldnt-be-handed-back/)

[Free tool Admin Tax Work out what keeping your website and tools in step costs your team. Open the tool](https://merlinfx-website.pages.dev/tools/admin-tax/)
