Description Usage Arguments Value Examples
View source: R/createTextBlock.R
createTextBlock
creates objects for most text-focused block types. See the "type" parameter for a full list.
1 |
type |
String. Currently supports the following types: paragraph, heading_1, heading_2, heading_3, callout, quote, bulleted_list_item, numbered_list_item, to_do, toggle. |
text |
String. The text content of the block. |
Data frame object representing the Notion block object.
1 2 | createTextBlock("paragraph","This is the text of a new paragraph block")
createTextBlock("quote","Do not be miserable before it is time. - Seneca")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.