Description Usage Arguments Value Examples
View source: R/createReferenceBlock.R
createReferenceBlock
creates objects for blocks that reference a url. See the type parameter for a full list.
Captions are not currently supported.
1 |
type |
String. Currently supports the following types: image, video, file, pdf, bookmark. |
url |
String. The reference URL where the content is stored. |
Data frame object representing the Notion block object.
1 2 | url = "https://developers.notion.com"
bookmarkBlock <- createReferenceBlock("bookmark", url)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.