A string, an array of strings, or an options object representing the quote content.
The content as a string, an array of strings, or an array of rich text objects.
An array of child block objects.
Color for the text.
A quote block object compatible with Notion's API.
// Use with a string
const simpleQuote = block.quote.createBlock("Simple quote");
// Use with an array of strings
const multiLineQuote = block.quote.createBlock(["Line 1 of quote", "Line 2 of quote"]);
// Use with options object
const complexQuote = block.quote.createBlock({
rich_text: "Complex quote",
color: "gray",
children: [
// Child blocks would go here
]
});
Creates a quote block.