How to code in notion
- George Apostolov
- 05 Sep 2025
Guide
Hover over the position you wish to enter code and click on the Add (+) icon that appears.
Scroll down to Code.
You have now inserted a code block! Click on the top left menu to select the appropriate language syntax highlighting.
Search or select the language from the list.
Use the top right dotted menu for more options.
One such useful option is Wrap code to avoid scrolling sideways when lines get too long.
Enter your code to be seen, shared, copied and appreciated.
Create your first interactive demo in minutes
No credit card required β’ Start building today


