PN: Insert Presenter Notes

Description Usage Arguments Value Examples

Description

Creates an aside of the class "notes" for slides (e.g., reveal.js slides).

Usage

1
PN(text = "clipboard", copy2clip = interactive(), print = FALSE)

Arguments

text

A character vector or text copied to the clipboard. Default is to read from the clipboard.

copy2clip

logical. If TRUE attempts to copy the output to the clipboard.

print

logical. If TRUE cat prints the output to the console. If FALSE returns to the console.

Value

Returns a character vector wrapped with HTML aside tags.

Examples

1
2
3
4
5
PN("some fancy notes", print = TRUE)
PN("1) some\n2) fancy\n3) notes", print = TRUE)
PN("1) some
2) fancy
3) notes", print = TRUE)

trinker/reports documentation built on May 31, 2019, 9:51 p.m.