dwww Home | Show directory contents | Find package

## -----------------------------------------------------------------------------
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

Generated by dwww version 1.15 on Wed Jun 26 02:55:43 CEST 2024.