Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an option for custom link formatting #3

Open
michaelquinn32 opened this issue May 17, 2019 · 2 comments
Open

Provide an option for custom link formatting #3

michaelquinn32 opened this issue May 17, 2019 · 2 comments

Comments

@michaelquinn32
Copy link

First of all, this is an awesome update to the default pager. Bravo.

I noticed that you currently leave links in the markdown format. While this is somewhat useful, I was wondering if there was a way that we could also suppress it to get back to the bare approach provided by the default pager.

Thanks!

@mdequeljoe
Copy link
Owner

thanks!
We can revert back to the Rd2txt output for links and hrefs by setting the option:

options(rdoc.text_formats = rdoc::rdoc_text_formats(link = NULL, href = NULL))

@gaborcsardi
Copy link

Somewhat related, dev crayon has real hyperlinks:
https://github.com/r-lib/crayon/blob/master/R/link.R

I don't know how we could support jumping to another manual page, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants