csp_page: Convert to an HTML CSP Page

Description Usage Arguments

View source: R/csp_page.R

Description

A CSP Page is a lightweight webpage suitable for sharing.

Usage

1
2
csp_page(toc = TRUE, smart = TRUE, theme = "flatly",
  highlight = "tango", template = "default", ...)

Arguments

toc

Generate a Table of Contents? Defaults to true.

smart

Produce typographically correct output, converting straightquotes to curly quotes, — to em-dashes, – to en-dashes, and ... to ellipses? Defaults to true.

theme

Visual theme. Defaults to flatly. Other good options may include journal, united, sandstone, or yeti.

highlight

Syntax highlighting style. Defaults to tango. Pass NULL to prevent syntax highlighting.

template

Pandoc template to use for rendering. Defaults to the rmarkdown package default template. Alternatively, pass html_csp to use the rmdy package template .


csp-inc/rmdy documentation built on May 14, 2019, 12:24 p.m.