Skip to content

Commit

Permalink
the new version of BrailleR has been published on CRAN, so remove thi…
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Aug 21, 2023
1 parent 1d8291e commit 3cf3125
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -286,14 +286,6 @@ mark = function(
#' # write HTML to an output file
#' mark_html('_Hello_, **World**!', output = tempfile())
mark_html = function(..., template = TRUE) {
# TODO: remove these special treatments to arguments
# https://github.com/ajrgodfrey/BrailleR/pull/89
args = list(...)
if ('stylesheet' %in% names(args) && 'BrailleR' %in% loadedNamespaces()) {
args$meta = list(css = args$stylesheet)
args$stylesheet = NULL
return(do.call(mark, c(args, list(format = 'html', template = template))))
}
mark(..., format = 'html', template = template)
}

Expand Down

0 comments on commit 3cf3125

Please sign in to comment.