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.