Skip to content

📝✂️ R package: RStudio addin to insert Rmd code snippets, especially for {blogdown}

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

matt-dray/blogsnip

Repository files navigation

blogsnip

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. R-CMD-check Blog post

What

{blogsnip} is a package of miscellaneous RStudio addins to insert code snippets and update code selections.

In general, the addins make it easier for me to write R Markdown posts for the {blogdown}-powered rostrum.blog site. You may or may not find them useful.

Consider also the excellent {remedy} package from ThinkR, which has a number of general RStudio addins to help you write R Markdown.

The blogsnip RStudio addin is demonstrated by selecting 'insert details block' from the addins menu, which creates an expandable details section when rendered from R Markdown to HTML.

You can read about each function in the vignette, on the 'references' page of the {blogsnip} website or browse the source.

Install

Install from GitHub with:

install.packages("remotes")  # if not yet installed
remotes::install_github("matt-dray/blogsnip")

Restart RStudio and the addins will then be available from the 'Addins' menu in RStudio, listed under 'BLOGSNIP'.

If you want to use 'Add Closing Paren Labels', the addin for the bs_add_biscuits(), you'll also need to install {styler} from CRAN.

install.packages("styler")

Contribute

Feel free to add or suggest new snippets.

Please note that the 'blogsnip' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

📝✂️ R package: RStudio addin to insert Rmd code snippets, especially for {blogdown}

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Languages