mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 20:21:55 +02:00
website
This commit is contained in:
@ -224,7 +224,7 @@
|
||||
#' # in an Rmd file, you would just need to return `ureido` in a chunk,
|
||||
#' # but to be explicit here:
|
||||
#' if (requireNamespace("knitr")) {
|
||||
#' knitr::knit_print(ureido)
|
||||
#' cat(knitr::knit_print(ureido))
|
||||
#' }
|
||||
#'
|
||||
#'
|
||||
|
@ -57,7 +57,7 @@ italicise_taxonomy <- function(string, type = c("markdown", "ansi")) {
|
||||
before <- "*"
|
||||
after <- "*"
|
||||
} else if (type == "ansi") {
|
||||
if (!has_colour()) {
|
||||
if (!has_colour() && !identical(Sys.getenv("IN_PKGDOWN"), "true")) {
|
||||
return(string)
|
||||
}
|
||||
before <- "\033[3m"
|
||||
|
Reference in New Issue
Block a user