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

    Function mentionDatabase

    • Creates a database mention with shorthand syntax.

      Parameters

      • databaseId: string

        The database 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 database mention
      // Simple database mention
      mentionDatabase("database_123")

      // Database mention with annotations
      mentionDatabase("database_123", { annotations: { italic: true } })