To write code in Notion use ``
For example:
let x = 10
You can also write code using ``` to denote a whole code block
let x = 10
function setup(){
createCanvas(400,400)
background(255)
}
function draw(){
}
You can also publish a page in Notion instead of manually sharing it in the top right corner.
After clicking the publish button, you can publish a site to the web and copy the shareable link.
Databases are a useful way to keep track of pages and store data. In the past I have used databases to keep track of all my class notes.
this is my database for class notes
Each one opens up into a page if you click the “open” icon in the name column. You can tag it and also set up different views and filters to organize it.
Below I have copied a link from the above database by clicking copy link to view
Then I have made separate views to filter my notes for each class.