UNPKG

knitr-js

Version:

Javascript implementation of knitr and R Markdown

17 lines (9 loc) 848 B
# knitr-js and xmd [![stability-experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](https://github.com/emersion/stability-badges#experimental) **This project is still at an early stage of development. Please do not use it in production. Contributions welcome!** **See also the [panlang](https://github.com/TianyiShi2001/panlang) project, which will provide the language engines for knitr-js.** **knit-js** and **xmd** are implementations of R's **[knitr](http://yihui.name/knitr/)** and **[R Markdown](https://rmarkdown.rstudio.com/)** in Node.js. ## What does knit-js Do - execute code chunks in `.xmd` files and generate output with customizable behaviour - compute and renders javascript code snippets - render `.xmd` into `.md`, then uses `pandoc` to generate various output formats, including pdf, html, docx