Description Usage Arguments Details Value Examples
Given a filename this funciton will search for a matching file on your Google drive. If more than one match is found you will get a menu to choose from. If too many maches are found the function will stop.
1 | gdoc_checkout(filename)
|
filename |
a complete or partial filename to be searched for on your Google drive. |
Once the target file has been identified it will be downloaded in docx format into a hidden folder '.markdrive/' created under the current working directory. Pandoc is used to convert the docx to .md and the result is placed in the current working directory. File metadata mapping the .md to the remote source is saved in the markdrive folder.
a googledrive dribble augmented with a new column 'local_md' and new class "markdown_doc"
1 2 3 4 5 | ## Not run:
gdoc_checkout("GOT")
#Check out a file matching "GOT", e.g. "my GOT theory"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.