downlit
downlit copied to clipboard
Syntax Highlighting and Automatic Linking
Package ipumsr re-exports `haven::as_factor()` to give users easy access to the S3 method `haven:::as_factor.haven_labelled()` defined in haven. However, since the generic is defined in forcats, downlit links references to `as_factor()`...
Currently, it simply picks the first URL from all URLs specified in the `DESCRIPTION` file. https://github.com/r-lib/downlit/blob/c0a8f645e21a03e258b7c1684901f84279cc706a/R/link.R#L343 But I guess not everyone is aware that, if there are multiple URLs specified,...
The downlit_md_path() does not have a classes argument like downlit_html_path() does. This means that you can only use downlit_md_path() with pandoc, only chroma. This is limiting. It thus requires me...
As discussed outside of GitHub, this PR factors out the tokenisation that downline uses in `highlight()` and exports it for use by other packages. It is also being used by...
As well as including in output. To make it easier to notice when your code has warnings that it shouldn't.
Would you consider allowing users to specify the use of the help pages at https://search.r-project.org as opposed to https://rdrr.io/ (or perhaps any arbitrary alternative)? E.g. it would be nice if...