# NOT RUN {
# Setting path for example html files
# To see path where these are saved, type file or file1 in the
# r console.
# }
# NOT RUN {
file <- system.file('examples', 'bgtable.html', package = 'highlightHTML')
# Creating CSS tags to inject into HTML document
tags <- c("#bgred {background-color: #FF0000;}",
"#bgblue {background-color: #0000FF;}")
# Command to post-process HTML file - Writes to temporary file
highlight_html(input = file, output = tempfile(fileext = ".html"),
tags = tags, browse = FALSE)
# }
Run the code above in your browser using DataLab