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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Jekyll plugin for parsing markdown content with knitr
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
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
MIT License, see [LICENSE] for more information.