Jekyll plugin for parsing markdown content with knitr
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
jekyll-knitr.gemspec

README.md

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.