packrat/lib/x86_64-w64-mingw32/3.6.1/highr/doc/highr-custom.R

## ------------------------------------------------------------------------
library(highr)
highr:::cmd_latex

## ------------------------------------------------------------------------
m = highr:::cmd_latex
m[, 1] = sub('\\hl', '\\my', m[, 1], fixed = TRUE)
head(m)

## ------------------------------------------------------------------------
hilight("x = 1+1  # a comment")  # default markup
hilight("x = 1+1  # a comment", markup = m)  # custom markup
jmcascalheira/LGMIberiaCluster documentation built on June 8, 2021, 10 a.m.