wilsonfreitas 5a23ad497e New plugin rmd_reader | пре 10 година | |
---|---|---|
.. | ||
Readme.md | пре 10 година | |
__init__.py | пре 10 година | |
rmd_reader.py | пре 10 година |
This plugin helps you creating posts with knitr's RMarkdown files. knitr is a template engine which executes and displays embedded R code. So, being short you can write an executable paper with codes, formulas and graphics.
This plugin needs rpy2 to work. Install it with:
pip install rpy2
The plugin detects RMD files ending with .Rmd
or .rmd
so you only have to write a RMarkdown files inside content directory.
This plugin calls R to process these files and generates markdown files that are processed by Python Markdown (with meta
, codehilite(css_class=highlight)
, and extra
extensions) before returning the content and metadata to pelican engine.