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.