Pkgdown: Rendering of [desc](url) markdown-type links.

Created on 10 Dec 2016  路  3Comments  路  Source: r-lib/pkgdown

For example
#' [RStudio](https://www.rstudio.com/)
give a working link with RStudio as link text in the R help.
Yet, in the site built with pkgdown::build_site(), the link text is https://www.rstudio.com/.

I am using the latest GitHub versions of hadley/pkgdown and klutometis/roxygen.

bug rd-translation

All 3 comments

Please provide a reproducible example

Sorry, I thought that giving the example #' [RStudio](https://www.rstudio.com/) was sufficient.

Illustration on one of my package:

Is this sufficient?
Thanks

I think the example above could look as follows when using .Rd formatting tags:
#' \href{https://www.rstudio.com/}{RStudio}

The desired result would be this: RStudio, i.e., the text RStudio linking to the website. This also works fine in the R documentation.

However, when building the online documentaton using pkgdown::build_site(), the text (RStudio) is ignored and instead the link is displayed directly as the text as well, i.e., like this: https://www.rstudio.com/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Anirban166 picture Anirban166  路  8Comments

ms609 picture ms609  路  6Comments

stufield picture stufield  路  5Comments

maelle picture maelle  路  5Comments

rickhelmus picture rickhelmus  路  3Comments