Description Usage Arguments Value Examples
Create or update a chapter
1 |
chapter_file |
path to the Markdown file to be uploaded |
force |
boolean, FALSE by default, specifies whether exercises should be removed. If set, will prompt for confirmation. |
open |
boolean, TRUE by default, determines whether a browser window should open, showing the course creation web interface |
ask |
boolean, TRUE by default, determines whether you are asked for confirmation if you set force to TRUE. |
No return values.
1 2 3 4 5 6 7 8 | ## Not run:
# Upload without possibly deleting existing exercises
upload_chapter("chapter1.md")
# Completely sync online chapter with your local markdown file
upload_chapter("chapter1.md", force = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.