Description Usage Arguments Details Value Examples
Given a filename, this funciton will search for previously checked out files that match. A selection menu is output if there is more than 1 match.
1 |
filename |
a complete or partial filename to be searched for in the '.markdrive/' folder under the current working directory |
preserve_empty_lines |
If TRUE empty whitespace lines are preserved in the translation to Google doc. This is most likely what you want if you use empty lines in your online document. If you want to write PURE markdown, and handle this yourself with <br> etc, Set to FALSE. |
Once the file to be pushed is identified, the md is converted to html with pandoc and uploaded to Google drive as the new 'media' for the checked out file.
a fresh handle to the updated file.
1 2 3 4 5 | /dontrun{
gdoc_push("GOT")
#Pushes the local file "my GOT theory.md" as an update to the remote Google doc
"my GOT theory"
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.