Creates a date mention with shorthand syntax.
The date string or date object
Optional
Additional options for the mention
Text annotations (bold, italic, etc.)
URL for the mention
// Simple date mentionmentionDate("2025-01-01")// Date mention with time rangementionDate({ start: "2025-01-01", end: "2025-01-02" })// Date mention with annotationsmentionDate("2025-01-01", { annotations: { bold: true } }) Copy
// Simple date mentionmentionDate("2025-01-01")// Date mention with time rangementionDate({ start: "2025-01-01", end: "2025-01-02" })// Date mention with annotationsmentionDate("2025-01-01", { annotations: { bold: true } })
Creates a date mention with shorthand syntax.