Learn R Programming

notionR (version 0.0.9)

addBlockH1: Adds an H1 (heading one) Block to a Page

Description

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

Usage

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

Value

list

Arguments

secret

API token

id

Page id where block will be appended

content

content to append as H1

toggle

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