Overview Version History Q & A Rating & Review
CodeToNotion README
Tutorial for Creating Notion Integration Token with VS Code Plugin
Step One: Create Notion Integration
Search for "notion my integrations" on Google or visit https://www.notion.so/my-integrations .
Create a new Integration:
Choose the Notion workspace you want to use.
Give the Integration a name.
Save the Secrets Token:
This Token is your Notion API Token.
Step Two: Obtain Notion Page ID
Return to Notion and create a new Page:
The code at the end of the Page URL is the Page ID.
Establish an Integration link on that Page:
In the Page's three dots on the right, add the Integration created earlier.
Access the "codeToNotion" configuration file:
Database ID: (Ignore if this feature has not been added yet)
Page ID: The Page ID from Step 4.
Token: The Integration Token from Step 3.
User ID: Refer to this tutorial:
Go to "Settings & Members."
Open F12 Developer Tools.
Navigate to "My Account."
Check the response of "authGetLoginConfiguration."
Find and copy the userId.
You have now completed the VS Code Plugin Notion Integration setup. Remember to save the settings and enjoy the convenience of using the plugin!
Usage:
Select the code you want to save, right-click, and choose "sendCodeToNotion."
Create the desired name for storage.
Choose the code type.
----------------------------------------------------------------------------------------------------------
建立 Notion Integration Token 的 VS Code 插件教學
步驟一:建立 Notion Integration
在 Google 中搜尋 "notion my integrations" 或進入 https://www.notion.so/my-integrations 。
創建新的 Integration:
選擇欲使用的 Notion 工作區。
給 Integration 取一個名稱。
保留 Secrets 的 Token:
這個 Token 就是 Notion 的 API Token。
步驟二:取得 Notion Page ID
回到 Notion,建立新的 Page:
Page 網址後面的代碼即為 Page ID。
在該 Page 中建立 Integration 連結:
在 Page 右側的三個點點中加入之前建立的 Integration。
步驟三:設定 VS Code 插件
進入 "codeToNotion" 設定檔:
Database ID: (如果尚未加入該功能可忽略)
Page ID: 第 4 步的 Page ID。
Token: 第 3 步的 Integration Token。
User ID: 可參考 這個網站教學 :
這樣你就完成了 VS Code 插件的 Notion Integration 設定。記得保存設定,並享受使用插件的便利!
使用方式 :
選取想儲存的代碼,按下右鍵,選擇 sendCodeToNotion。
建立要儲存的名稱。
選擇代碼類型。
Version
1.0.0
Initial release of
1.0.1
Add document