Code Monkey home page Code Monkey logo

reviewer's Introduction

reviewer

Project Status: Abandoned

This repository has been archived. The former README is now in README-NOT.md.

reviewer's People

Contributors

lmsdejong avatar maelle avatar markdly avatar raymondben avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

godhart

reviewer's Issues

Transfer to personal account?

@raymondben et al ๐Ÿ‘‹ according to our recently created package curation policy this repo should now be transferred to either one of your personal accounts, or the ropensci-archive organization.

If you don't answer within one month, I'll transfer the repository to ropensci-archive, after which you could still email me to transfer the repo to a personal account.

Thank you!

Support word output

Starting work on supporting rmd diff rendering to word. Custom styles can be used to show differences in rendered doc (nb: this is without using the traditional track-changes option in Word). For example, this rmarkdown snippet:

---
output:
  word_document:
    reference_docx: rmd_reviewer_styles.docx
---

### Example Rmarkdown doc with custom styles for word

This is some text that has the [custom addition style
applied]{custom-style="addtxt"} and this was [some text that was
removed]{custom-style="deltxt"}

Can display as something like

screen shot 2018-11-23 at 9 22 03 am

Provided suitable addtxt and deltxt custom styles have been defined in rmd_reviewer_styles.docx

Perhaps this could be added to diff_rmd() as an option with something like

} else if (output_format == "word_document") {
  diffout <- gsub("[-", '{custom-style="addtxt"', diffout, fixed = TRUE)
  diffout <- gsub("-]", "}", diffout, fixed = TRUE)
  diffout <- gsub("{+", '{custom-style="deltxt"', diffout, fixed = TRUE)
  diffout <- gsub("+}", "}", diffout, fixed = TRUE)
}

and then rendered from .md -> docx via pandoc for the raw view (i.e. code chunks will not be run). Or just attempt to use the usual rmarkdown::render to word process for viewing the rendered output

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.