View source: R/convert_ipynb_to_blogdown.R
This function adds a cell calling the reticulate library to the beginning of the markdown text.
1 2 3 4 5 | add_reticulate(
md_text,
python_path = reticulate::py_config()$python,
chunk_options = ""
)
|
md_text |
Markdown text as character string to which to attach the reticulate cell |
python_path |
python path as string for reticulate. Defaults to the one detected by |
chunk_options |
string. Passes options to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.