Skip to contents

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

Usage

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

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.