1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-10 13:01:58 +02:00
This commit is contained in:
2023-03-20 21:59:50 +01:00
parent c28cfa3a77
commit 549790c2a6
5 changed files with 6 additions and 6 deletions

View File

@ -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"