Description Usage Arguments Value
Note that you must pass the HTML file with extension .nb.html
that is rendered
automatically for RMarkdown documents with output with html_notebook
output.
Passing the RMarkdown document directly will fail.
1 2 3 4 5 6 | html_nb_to_ipynb(
html_notebook_file,
ipynb_file = str_replace(html_notebook_file, "\\.nb\\.html$", ".ipynb"),
verbose = F,
remove_html_comments = T
)
|
html_notebook_file |
path to the RMarkdown HTML document to be converted |
ipynb_file |
path to the desired output IPython notebook to be generated |
the resulting JSON of the IPython notebook, invisibly, as a character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.