Description Usage Arguments Details
Sort an R Markdown file with specified order of headers
1 2 | sort_rmd_head(in_file, out_file = NULL, order = c("R Markdown2",
"R Markdown"))
|
order |
Character vector. A list of level 2 titles in the input file which determines the order of h2 titles in the output file. |
infile |
String. Path to the input Rmd file. |
outfile |
String. Path to the output Rmd file.
Defaults to |
Restructure an input R Markdown file by its
level 2 headers (##
). The order is
determined by specifying the h2 headers in the
argument order
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.