Skip to content

Commit

Permalink
docs: Avoid unescaped latex warning with correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Sep 5, 2023
1 parent 50beafd commit 5843a9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion R/epoxy_transform_inline.R
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ roxy_inline_params <- function() {
}
# default is a function call, maybe with arguments
link <- sub("\\(.*\\)$", "", expr)
return(sprintf("[%s][%s]", expr, link))
return(sprintf("[`%s`][%s]", expr, link))
})

extras <- epoxy_inline_aliases
Expand Down
16 changes: 8 additions & 8 deletions man/epoxy_transform_inline.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5843a9d

Please sign in to comment.