| rticle | R Documentation |
Reads a Markdown file exported from Google Docs and converts it into a Quarto-compatible manuscript. The function detects and separates text, figures, and tables, removes formatting artifacts, restores equations embedded as image placeholders, and inserts format-specific section breaks. The resulting document can be rendered directly using Quarto for HTML, Word, or PDF outputs.
rticle(file = "draft.md", export = "files", type = c("asis", "list"))
file |
Character string indicating the path to the Markdown file. Default is "draft.md". |
export |
Character string specifying the output directory where the generated .qmd file will be saved. If NULL, the directory name is derived from the input file name. |
type |
Character string indicating how the manuscript should be organized. "asis" preserves the original structure, whereas "list" rearranges the content into text, figures, and tables. |
A character vector containing the full path of the generated Quarto (.qmd) file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.