Convert HTML notebooks generated by RMarkdown into Jupyter (.ipynb
) notebooks.
Important: only HTML notebooks with the .nb.html
file extension can be converted,
not the RMarkdown directly.
You can install the released version of rmd2ipynb from GitHub with:
devtools::install_github("jullybobble/rmd2ipynb")
library(rmd2ipynb)
html_nb_to_ipynb("./path/to/rmarkdown.nb.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.