How to create a code block in Notion
If you are looking to create a document in Notion that contains code snippets, you may want to know how to create a code block. This will allow you to easily format and display code in your document, making it easier to read and understand. Knowing how to create a code block in Notion can also help you keep your document organized and make it easier to reference code snippets when needed.
Grace Everwood
|
7 steps
|
20 seconds
Notion
1
Log into your Notion account on [notion.so](http://notion.so)
2
Navigate to the page that you want to add a code block to or click "Add a page" on the Notion side panel.
3
Click on "Empty page".
4
Click on the "+" button to add a new Notion block.
5
Click on "Code" under Notion's media selection.
6
Input your code block.
7
Title your Notion page.