Website Building » Squarespace » How do I add a code block in Squarespace?

How do I add a code block in Squarespace?

Last updated on September 24, 2022 @ 10:51 pm

Adding a code block in Squarespace is simple. To start, click on the “Insert” button in the main toolbar. In the “Code” section, you will find a “Code Block” button. Click on this button to open the code block editor.

PRO TIP: Adding code blocks in Squarespace can be tricky and may result in broken code on your site. We recommend working with a developer or using a Squarespace template that already has code blocks included.

To add a code block, first select the code you want to add. Then, click on the “Insert” button in the code block editor toolbar and select the “Code” option. Finally, enter your code in the code block editor. When you’re finished, click on the “Close” button to close the code block editor and save your changes.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.