Notion开发者更新日志11月24日的条目显示,其更新页面Markdown A simple way of formatting text with symbols, such as # for headings and - for bullet points, that apps turn into styled text.的接口现在可以在选定的块(例如“## Action items”标题)之前或之后直接插入新内容,不再依赖已被弃用的旧式文本匹配方法(Notion Developers Changelog A dated list of what changed in each new version of an app, published by the company that makes it.)。
要点
- 有何变化:insert_content现在接受after_content或before_content位置加锚点,例如标题“## Action items”。新内容会插入到与锚点匹配的块旁边,并保持该块的嵌套层级(Notion Developers changelog)。
- 弃用了什么:旧的insert_content.after参数(用省略号匹配文本)现已弃用,集成应改用新的position设置。insert_content本身不再被标记为旧版功能(Notion Developers changelog)。
- 要求:锚点位置仅适用于markdown_version“v2”。官方JavaScript SDK A ready-made toolbox of code that a company gives developers so they can build things on top of its product, like custom blocks in Notion. @notionhq/client 5.32.0版支持新位置,并将旧参数标为弃用(Notion Developers changelog)。
为何重要: 如果你用脚本、自动化或AI代理往Notion页面添加笔记或任务,这让你无需重写整页就能把文字放到正确的位置。请检查仍在使用旧“after”选项的集成,并在它被移除前计划迁移。
来源(1)
- Changelog: November 24, 2026 - Insert markdown next to a block · Notion Developers





