Open Toggle as page & toggle heading
summary
Making a toggle with the size of Heading 1, which is also a clickable page itself. It will toggle what's on the page.
tags
Notion
Tip
Example
date
Feb 17, 2021
Chinese version
English version
Dec 23, 2021 Update: Notion supported Toggle Heading, which means you no longer need to create it by inline equation following step 1. If you want to open a toggle as a page, jump to step 2.
Asked on reddit
Final Example
Effect: making a toggle with the size of Heading 1, which is also a clickable page itself. It would toggle what's on the page.
Heading 1
If you only want a page like toggle, here is an example. Only step 2 is needed to get its link.
Just a page like toggle
Click this toggle to open it like a page.
Steps
1. Making a toggle the size of a Heading 1
Use inline TeX equations to make a toggle looks like heading.
Notice that it won't be shown in TOC, so you may need to type your own TOC.
Reference: by Ben Smith.
I used
\LARGE\textsf{Heading 1}
for Default Font Style example. Choose whatever you want. The Serif Font Style looks more alike.- Default Font Style
\LARGE\textsf{Heading 1}
- Serif Font Style
\Large\textbf{Heading 1}
\LARGE\text{Heading 1}
2. Get the page link of the toggle block to make it clickable
There are two ways to get page link, you can click the link to test.
Notice that you can't click an inline equation to open a link (only the TeX edit window will pop up). The only solution I can think of is add an emoji or some characters after or before the equation, and clink that to open the link.
Way 1: Change the toggle into page - copy link - change back
Way 2: Global Block Method
First, copy the link of the toggle block
Then, delete characters after
https://www.notion.so/
, until #
. This is the desired page link.Templates
You can even use Template button to generate certain format. The hyper link will always point to the toggle you generated. Feel free to change the colors.
Here are some templates. To change the text without lost the hyper link, move cursor between 2 letters, add your text, and delete the original texts.
For Heading 1 size toggle, if you open it as a page, the title will be very large and won't return. So I think a heading size number, text size title would be better in usage.
ย
ย
ย
ย
ย
ย
ย
H1
ย
H2
ย
H3
ย