hl: hl

View source: R/hl.R

hlR Documentation

hl

Description

Manage the different behaviour of html & kable output. Short name (Html-Latex) for markdown inline formatting: r hl(x, y).

Usage

hl(output_html, output_latex)

Value

one of the given outputs based on the environment

Examples

library(ggplot2)
p <- ggplot(iris, aes(Sepal.Length, Petal.Length)) + geom_point()
hl(plotly::ggplotly(p), p)

MarcellGranat/granatlib documentation built on July 9, 2023, 6:08 a.m.