View source: R/convert_ipynb_to_blogdown.R
Converts a markdown file containing python code chunks to a Rmd file with a reticulate chunk. Returns the Rmd string without YAML header
1 2 3 4 5 | md_to_Rmd_text(
md_file,
chunk_options = "",
python_path = reticulate::py_config()$python
)
|
md_file |
path to the markdown file |
chunk_options |
string. Passes options to |
python_path |
python path as string for reticulate. Defaults to the one detected by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.