bidi <- arabic_reshaper <- NULL
.onLoad <- function(libname, pkgname){
bidi <<-reticulate::import("bidi.algorithm",
delay_load = T)
arabic_reshaper <<-reticulate::import("arabic_reshaper",
delay_load = T)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.