安装 🔗
- 下载 https://o.shangao.tech/manifest.xml 到本地
- 在浏览器中打开 onenote 页面
- 切换到 插入(Insert) 菜单,选择 Office 外挂程序(Office Add-ins)

- 选择 我的外挂程序(My Add-ins), 点击 上传外挂程序 (Upload My Add-in)

- 选择 第1步下载的
manifest.xml
, 点击 上传 按钮
使用 🔗
- 选择 开始(Home) 菜单, 点击
Show Taskpane
按钮

-
右侧会弹出操作说明及操作按钮, 选中需要创建目录的 Onenote Outline, 点击工具中的 Generate 按钮
-
页面顶会生成一个新的包含目录的 Outline

修正 🔗
- 由于在调用
page.addOutline(1,1, <a href="onenoet:xxx">)
时,href
的内容会被替换,因此的连接前加前缀https://o.shangao.tech/
, 现在需要手动编辑去掉这年前缀,并替换为onenote:
更新 🔗
- 在地址中添加
onenoet:
, 修正时只需要移除前缀https://o.shangao.tech/