PageSourceSearch

https://papercranedev.com/better-sidebar/static/js/async/1141.bac1e54904.js

js papercranedev.com collected 2026-10-02 01:39:01 UTC 6,734 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkbetter_sidebar_landing=self.rspackChunkbetter_sidebar_landing||[]).push([[1141],{4308(n,e,i){i.r(e);var r=i(4848),t=i(8453),d=i(7054);function s(n){let e={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...n.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.h1,{id:"notion-与-obsidian-整合",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#notion-与-obsidian-整合",children:"#"}),"Notion 与 Obsidian 整合"]}),"\n",(0,r.jsxs)(e.p,{children:["这两项功能可将内容流畅输出到浏览器外部的个人知识库中,均为 ",(0,r.jsx)(e.a,{href:"/zh/guide/settings/packs.html",children:"Power Pack 进阶包"})," 专属功能。"]}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(e.table,{children:[(0,r.jsx)(e.thead,{children:(0,r.jsxs)(e.tr,{children:[(0,r.jsx)(e.th,{children:"整合目标"}),(0,r.jsx)(e.th,{children:"前置配置"}),(0,r.jsx)(e.th,{children:"运行机制"})]})}),(0,r.jsxs)(e.tbody,{children:[(0,r.jsxs)(e.tr,{children:[(0,r.jsx)(e.td,{children:(0,r.jsx)(e.strong,{children:"Obsidian"})}),(0,r.jsx)(e.td,{children:"完全无需配置"}),(0,r.jsxs)(e.td,{children:["透过 ",(0,r.jsx)(e.code,{children:"obsidian://"})," 本机协议直接在 Vault 中建立笔记"]})]}),(0,r.jsxs)(e.tr,{children:[(0,r.jsx)(e.td,{children:(0,r.jsx)(e.strong,{children:"Notion"})}),(0,r.jsx)(e.td,{children:"一次性配置(约 3 分钟)"}),(0,r.jsx)(e.td,{children:"透过官方 Notion API 在指定目标页面下建立子页面"})]})]})]}),"\n",(0,r.jsxs)(e.h2,{id:"obsidian",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#obsidian",children:"#"}),"Obsidian"]}),"\n",(0,r.jsxs)(e.p,{children:["无需任何繁琐设置。在任一对话或片段上右键点击 → ",(0,r.jsx)(e.strong,{children:"导出"})," → ",(0,r.jsx)(e.strong,{children:"在 Obsidian 中开启"}),"。"]}),"\n",(0,r.jsxs)(e.p,{children:["本机需已安装并启动 Obsidian。片段默认存入笔记库中的 ",(0,r.jsx)(e.code,{children:"Snippets"})," 文件夹,标题阶层与代码区块排版完整保留。多选批量导出时会自动合并为一篇条理分明的长笔记。"]}),"\n",(0,r.jsx)(d.Pq,{type:"tip",title:"Tip",children:(0,r.jsx)(e.p,{children:"\n这是将 AI 对话转化为永久知识库阻力最小的途径:反白选取精华、存储为片段,累积几则后一键发送至 Obsidian。零复制贴上、排版完好无损。"})}),"\n",(0,r.jsxs)(e.h2,{id:"notion-配置步骤",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#notion-配置步骤",children:"#"}),"Notion 配置步骤"]}),"\n",(0,r.jsxs)(e.p,{children:["在 ",(0,r.jsx)(e.strong,{children:"设置 → 整合"})," 中进行一次性设置:"]}),"\n",(0,r.jsxs)(e.h3,{id:"1-授予权限",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#1-授予权限",children:"#"}),"1. 授予权限"]}),"\n",(0,r.jsxs)(e.p,{children:["Better Sidebar 在安装时不会预先索取 Notion API 权限 —— 仅在你明确点击启用该功能时,才会跳出浏览器选用权限确认。点击 ",(0,r.jsx)(e.strong,{children:"授予 Notion API 存取权限"})," 并批准。"]}),"\n",(0,r.jsxs)(e.h3,{id:"2-建立并填入-integration-token",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#2-建立并填入-integration-token",children:"#"}),"2. 建立并填入 Integration Token"]}),"\n",(0,r.jsxs)(e.p,{children:["前往 ",(0,r.jsx)(e.a,{href:"https://www.notion.so/my-integrations",rel:"noopener noreferrer",target:"_blank",children:"notion.so/my-integrations"})," 建立一个全新的 ",(0,r.jsx)(e.strong,{children:"Internal Integration"}),"。复制其产生的权杖(格式通常以 ",(0,r.jsx)(e.code,{children:"ntn_"})," 开头)。"]}),"\n",(0,r.jsxs)(e.p,{children:["将其贴入 API Key 字段并点击 ",(0,r.jsx)(e.strong,{children:"存储"}),"。扩展程序会自动测试连线并显示该整合名称。"]}),"\n",(0,r.jsxs)(e.h3,{id:"3-指定目标存放页面",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#3-指定目标存放页面",children:"#"}),"3. 指定目标存放页面"]}),"\n",(0,r.jsx)(e.p,{children:"从下拉选单中选择目标父页面。未来所有导出的内容都会作为其子页面建立。"}),"\n",(0,r.jsxs)(e.h3,{id:"疑难排解找不到页面-no-pages-found",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#疑难排解找不到页面-no-pages-found",children:"#"}),"疑难排解:「找不到页面 (No pages found)」"]}),"\n",(0,r.jsx)(e.p,{children:"这通常是因为虽然建立了 Integration,但尚未在 Notion 中将具体页面的存取权限授予它。"}),"\n",(0,r.jsxs)(e.p,{children:["Notion 要求必须按页面显式授权:在 Notion 中开启你打算存放导出内容的目标页面 → 右上角 ",(0,r.jsx)(e.strong,{children:"⋯"})," 选单 → ",(0,r.jsx)(e.strong,{children:"Connections"})," → 加入刚才建立的 Integration。随后在 Better Sidebar 点击 ",(0,r.jsx)(e.strong,{children:"重新整理"})," 即可。"]}),"\n",(0,r.jsxs)(e.h2,{id:"解除链接",children:[(0,r.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#解除链接",children:"#"}),"解除链接"]}),"\n",(0,r.jsxs)(e.p,{children:["点击 API Key 旁的 ",(0,r.jsx)(e.strong,{children:"中断连线"})," 即可彻底清除本地快取的 Token 与页面资讯。Notion 中既有的页面完全不受影响。"]})]})}function h(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,t.R)(),...n.components};return e?(0,r.jsx)(e,{...n,children:(0,r.jsx)(s,{...n})}):s(n)}h.__RSPRESS_PAGE_META={},h.__RSPRESS_PAGE_META["zh%2Fguide%2Fextras%2Fintegrations.md"]={toc:[{id:"obsidian",text:"Obsidian",depth:2},{id:"notion-配置步骤",text:"Notion 配置步骤",depth:2},{id:"1-授予权限",text:"1. 授予权限",depth:3},{id:"2-建立并填入-integration-token",text:"2. 建立并填入 Integration Token",depth:3},{id:"3-指定目标存放页面",text:"3. 指定目标存放页面",depth:3},{id:"疑难排解找不到页面-no-pages-found",text:"疑难排解:「找不到页面 (No pages found)」",depth:3},{id:"解除链接",text:"解除链接",depth:2}],title:"Notion 与 Obsidian 整合",headingTitle:"Notion 与 Obsidian 整合",frontmatter:{title:"Notion 与 Obsidian 整合",description:"将对话与精华片段直接传送至 Notion 或 Obsidian。Notion 需一次性配置授权;Obsidian 开箱即用。"}},i.d(e,{default:()=>h})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.