Learn R Programming

notionR (version 0.0.9)

addBlockH2: Adds an H2 (heading two) Block to a Page

Description

Id refers to a page id, content should be only text.

Usage

addBlockH2(secret, id, content, toggle = FALSE)

Value

list

Arguments

secret

API token

id

Page id where block will be appended

content

content to append as H2

toggle

defaults to FALSE. If TRUE, will create an H1 Toggle.