ropensci/jekyll-knitr

Name: jekyll-knitr

Owner: rOpenSci

Description: Jekyll plugin for parsing markdown content with knitr

Created: 2014-04-06 21:40:30.0

Updated: 2016-02-24 14:39:44.0

Pushed: 2014-04-07 04:31:31.0

Homepage: null

Size: 176

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

jekyll-knitr

Jekyll plugin for parsing markdown content with knitr

Installation

Run bundle install after adding the gem to your Jekyll Gemfile:

gem "jekyll-knitr", "~> 0.0.1"

Or install as gem:

[sudo] gem install jekyll-knitr
Configuration

Add the gem to _config.yml:

gems:
  - jekyll-knitr

Tell Jekyll in _config.yml to not delete files created in the figures folder:

keep_files:  ['.git','figures']

Additional knitr options can be provided in _config.yml:

knitr:
  chunk_options:
    fig.width: 10
    fig.height: 7
    dev: svg
License

MIT License, see [LICENSE] for more information.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.