Description Usage Arguments Value Examples
Convert the Chinese headers of bookdown .Rmd files into Pinyin
1 | bookdown2py(folder = "py", remove_curly_bracket = TRUE, other_replace = NULL, dic = NA)
|
folder |
character. The folder in which the files are to be converted. |
remove_curly_bracket |
logical. Whether to remove existing curly brackets in the headers. |
other_replace |
NULL or character. Define how to convert non-Chinese characters in mychar. NULL means 'let it be'. |
dic |
See |
new .Rmd files with Pinyin headers.
1 | bookdown2py(dic = NA)
|
The directory py does not exist!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.