pkgdown (version 2.0.9)

rd2html: Translate an Rd string to its HTML output

Description

Translate an Rd string to its HTML output

Usage

rd2html(x, fragment = TRUE, ...)

Arguments

x

Rd string. Backslashes must be double-escaped ("\\").

fragment

logical indicating whether this represents a complete Rd file

...

additional arguments for as_html

Examples

Run this code
rd2html("a\n%b\nc")

rd2html("a & b")

rd2html("\\strong{\\emph{x}}")

Run the code above in your browser using DataLab