Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/MilesMcBain/markdrive

Edit Google docs in Markdown with a little help from #rstats
https://github.com/MilesMcBain/markdrive

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# markdrive

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

# Installation

``` r
# 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.