All Projects → RLesur → Klippy

RLesur / Klippy

Licence: mit
Copy to Clipboard Buttons for RMarkdown HTML Documents

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Klippy

Knitr
A general-purpose tool for dynamic report generation in R
Stars: ✭ 2,134 (+5235%)
Mutual labels:  rmarkdown, knitr
Knitr Book
Dynamic Documents with R and knitr
Stars: ✭ 215 (+437.5%)
Mutual labels:  rmarkdown, knitr
Liftr
🐳 Containerize R Markdown documents for continuous reproducibility
Stars: ✭ 155 (+287.5%)
Mutual labels:  rmarkdown, knitr
Wraprmd
RStudio addin for wrapping RMarkdown paragraphs
Stars: ✭ 87 (+117.5%)
Mutual labels:  rmarkdown, knitr
reportfactory
Lightweight infrastructure to handle multiple rmarkdown reports
Stars: ✭ 68 (+70%)
Mutual labels:  rmarkdown, knitr
r-novice-inflammation
Programming with R
Stars: ✭ 142 (+255%)
Mutual labels:  rmarkdown, knitr
Rmarkdown Cookbook
R Markdown Cookbook. A range of tips and tricks to make better use of R Markdown.
Stars: ✭ 324 (+710%)
Mutual labels:  rmarkdown, knitr
Jupytext
Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
Stars: ✭ 4,969 (+12322.5%)
Mutual labels:  rmarkdown, knitr
xaringan slides
📺 Links to HTML5 presentations made using the R package {xaringan}.
Stars: ✭ 20 (-50%)
Mutual labels:  rmarkdown, knitr
epoxy
Extra-strength glue engines for R Markdown and Quarto
Stars: ✭ 141 (+252.5%)
Mutual labels:  rmarkdown, knitr
Knitrhooks
Extend {knitr} with hooks
Stars: ✭ 32 (-20%)
Mutual labels:  rmarkdown, knitr
Kableextra
Construct Complex Table with knitr::kable() + pipe.
Stars: ✭ 465 (+1062.5%)
Mutual labels:  rmarkdown, knitr
Vscode R
R Extension for Visual Studio Code (execution, snippet, lint, R documantation, R Markdown)
Stars: ✭ 445 (+1012.5%)
Mutual labels:  rmarkdown
Posterdown
Use RMarkdown to generate PDF Conference Posters via HTML
Stars: ✭ 602 (+1405%)
Mutual labels:  rmarkdown
Papaja
papaja (Preparing APA Journal Articles) is an R package that provides document formats to produce complete APA manuscripts from RMarkdown-files (PDF and Word documents) and helper functions that facilitate reporting statistics, tables, and plots.
Stars: ✭ 422 (+955%)
Mutual labels:  rmarkdown
Summarytools
R Package to Quickly and Neatly Summarize Data
Stars: ✭ 390 (+875%)
Mutual labels:  rmarkdown
Crisscross
A Markdown-centric template engine for batch offline document generation.
Stars: ✭ 18 (-55%)
Mutual labels:  rmarkdown
Rmarkdown Book
R Markdown: The Definitive Guide (published by Chapman & Hall/CRC in July 2018)
Stars: ✭ 557 (+1292.5%)
Mutual labels:  rmarkdown
Knitr Examples
A collection of knitr examples
Stars: ✭ 389 (+872.5%)
Mutual labels:  knitr
Markdowntemplates
✅🔻 A collection of alternate R markdown templates
Stars: ✭ 287 (+617.5%)
Mutual labels:  rmarkdown

klippy
Copy to Clipboard Buttons for R Markdown HTML Documents

Travis build status

Overview

klippy enhances R Markdown HTML documents with “copy to clipboard” buttons as shown below:

Installation

klippy is not available from CRAN, but you can install the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("rlesur/klippy")

Motivation

As an intensive reader of R Markdown books and documents (thanks to knitr), I selected on my screen dozens of R code blocks then press Ctrl+C
This package is a very small, but I hope helpful add-in for R Markdown to improve the reader experience.

Usage

Add the following chunk anywhere in your Rmd file:

```{r klippy, echo=FALSE, include=TRUE}
klippy::klippy()
```

Browser Support

klippy uses clipboard.js. Tooltips are rendered with Primer Tooltips CSS.
Glue code is in Vanilla JS.
For supported browsers, see clipboard.js documentation.

Bugs/Feature requests

If you have any, let me know. Thanks!

Related project

To use clipboard.js in Shiny, see rclipboard (CRAN, GitHub).

Credits

The following libraries are distributed with klippy:

clipboard.js (version: 1.7.1) (c) Zeno Rocha [email protected]
MIT license: https://zenorocha.mit-license.org/
Website: https://clipboardjs.com/
GitHub: https://github.com/zenorocha/clipboard.js/

Primer Tooltips (version: 1.4.0) (c) GitHub, Inc.
MIT license: https://github.com/primer/primer-css/blob/v9.5.0/modules/primer-tooltips/LICENSE
Website: https://primer.style/

The clipboard icon clippy.svg is part of:
GitHub Octicons (version: 6.0.1) (c) GitHub, Inc.
MIT license: https://github.com/primer/octicons/blob/v6.0.1/LICENSE
Website: https://octicons.github.com/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].