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
We're working on multilingual support for vignettes in {data.table}.
As part of that we'd like to add a few links naming the available languages for each vignette like:
Available languages: en | fr | zh_CN
As it stands, that requires reading the path of the current vignette since the language info is encoded there, hence knitr::current_input() is pretty useful.
@rikivillalba found litedown:::.env$input works, but obviously it'd be better to rely on an exported function:
We're working on multilingual support for vignettes in {data.table}.
As part of that we'd like to add a few links naming the available languages for each vignette like:
Available languages: en | fr | zh_CN
As it stands, that requires reading the path of the current vignette since the language info is encoded there, hence
knitr::current_input()
is pretty useful.@rikivillalba found
litedown:::.env$input
works, but obviously it'd be better to rely on an exported function:Rdatatable/data.table#6618
The text was updated successfully, but these errors were encountered: