You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (is.null(packages)) {
packages<- loadedNamespaces()
}
which makes the href part getting added to downlit::highlight("<class>$new()") when executed directly.
However, I still do not get highlighting when building a pkgdown site 🤔 (new session, fresh start with modified {downlit}).
Is there something else I am overlooking which is responsible for highlighting of local packages in {pkgdown}?
The text was updated successfully, but these errors were encountered:
The following works
`<pkg>::<class>$new()`
The following do not
I've played around a bit with
downlit::highlight()
and found thatdoes not include the
href
part becausepackages
inhttps://github.com/r-lib/downlit/blob/main/R/highlight.R#L58
is empty. I've added the following to a fork
which makes the
href
part getting added todownlit::highlight("<class>$new()")
when executed directly.However, I still do not get highlighting when building a pkgdown site 🤔 (new session, fresh start with modified {downlit}).
Is there something else I am overlooking which is responsible for highlighting of local packages in {pkgdown}?
The text was updated successfully, but these errors were encountered: