wilsonfreitas 5a23ad497e New plugin rmd_reader | %!s(int64=10) %!d(string=hai) anos | |
---|---|---|
.. | ||
Readme.md | %!s(int64=10) %!d(string=hai) anos | |
__init__.py | %!s(int64=10) %!d(string=hai) anos | |
rmd_reader.py | %!s(int64=10) %!d(string=hai) anos |
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.