Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/MilesMcBain/markdrive
- Owner: MilesMcBain
- Created: 2017-08-23T11:41:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T22:15:32.000Z (over 6 years ago)
- Last Synced: 2024-05-21T02:53:05.663Z (6 months ago)
- Language: R
- Size: 20.5 KB
- Stars: 71
- Watchers: 6
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
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.