Notion Helper - v1.3.29
    Preparing search index...

    Function mentionPage

    • Creates a page mention with shorthand syntax.

      Parameters

      • pageId: string

        The page ID to mention

      • Optionaloptions: { annotations?: Object; url?: string } = {}

        Additional options for the mention

        • Optionalannotations?: Object

          Text annotations (bold, italic, etc.)

        • Optionalurl?: string

          URL for the mention

      Returns Object[]

      • Array with a single Rich Text Object containing the page mention
      // Simple page mention
      mentionPage("page_123")

      // Page mention with annotations
      mentionPage("page_123", { annotations: { color: "green" } })