mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
(v3.0.1.9038) fix format inline
This commit is contained in:
1 parent
3d1412e8c9
commit
975a690c10
9 files changed
+21
-18
No files matched your search
@@ -423,6 +423,9 @@ highlight_code <- function(code) {
|
||||
format_inline_ <- function(...) {
|
||||
msg <- paste0(c(...), collapse = "")
|
||||
if (pkg_is_available("cli", min_version = "3.0.0")) {
|
||||
if (!cli::ansi_has_hyperlink_support()) {
|
||||
msg <- simplify_help_markup(msg)
|
||||
}
|
||||
cli::format_inline(msg)
|
||||
} else {
|
||||
cli_to_plain(msg, envir = parent.frame())
|
||||
|
||||
Reference in new issue
Block a user