New NotionQuoteBlock - fasteiner/Notion GitHub Wiki

New-NotionQuoteBlock

SYNOPSIS

Creates a new Notion quote block object.

SYNTAX

None (Default)

New-NotionQuoteBlock [<CommonParameters>]

WithText

New-NotionQuoteBlock -RichText <Object[]> [-Color <Object>] 
 [<CommonParameters>]

DESCRIPTION

This function creates a new instance of the notion_quote_block class. You can create an empty quote block or provide rich text and a color for the quote.

EXAMPLES

EXAMPLE 1

New-NotionQuoteBlock -RichText "This is a quote." -Color "gray"

EXAMPLE 2

New-NotionQuoteBlock

PARAMETERS

-Color

The color for the quote block. Default is "default".

Type: Object
Parameter Sets: WithText
Aliases:

Required: False
Position: Named
Default value: Default
Accept pipeline input: False
Accept wildcard characters: False

-RichText

The rich text content for the quote block.

Type: Object[]
Parameter Sets: WithText
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

notion_quote_block

NOTES

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️