Skip to content

Edit Google docs in Markdown with a little help from #rstats

Notifications You must be signed in to change notification settings

MilesMcBain/markdrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdrive

Edit Google docs in Markdown with a little help from #rstats

Installation

# install.packages("devtools")
devtools::install_github("MilesMcBain/markdrive")

Usage

gdoc_checkout(filename = "GOT") Will search your Google drive for Google docs with "GOT" in the name and prompt to download one. After download it will be converted to .md for editing. Let's say the file that was downloaded was my_GOT_theory.docx, my_GOT_theory.md will be created in the working dir.

gdoc_push(filename = "GOT") Will push a markdown file matching the name pattern back to Google drive and update the source document. You could also supply a dribble output from gdoc_checkout. It updates the google doc via a html conversion along the way.

gdoc_render(filename = "./test.Rmd") will render an .md or .Rmd file to html and push it to Google Drive as a google doc. This package includes an Rstudio addin that will do this for the currently active source tab.

Checkout to get the markdown file. Push to "save" your edits to Google drive.

About

Edit Google docs in Markdown with a little help from #rstats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages