Derek Merck
derek_merck@brown.edu
Rhode Island Hospital and Brown University
Providence, RI
Source: https://www.github.com/derekmerck/jinjafy
Data-driven document templating and format conversion using Jinja2 and Pandoc.
$ pip install https://github.com/derekmerck/jinjafy
Generate a static data-driven revealjs presentation.
$ jinjafy revealjs_2d examples/sample_presentation.yaml -t revealjs --theme moon
Generate a data-driven cv.
$ jinjafy cv examples/sample_cv.yaml -t docx --bibliography=example/sample_bib.csl.yaml
When working with references, it can be convenient to setup your bibliography file using an environment variable:
$ export JINJAFY_BIBLIOGRAPHY="/path/to/my_bib.csl.yaml"
Serve a dynamically generated data-driven revealjs presentation.
$ jinjafy-rest
$ curl http://localhost:8080/render/revealjs_2d?source=example%2Fsample_presentation.yaml&theme=moon
Source may be a URL or a relative path to the server for locally installed content.
MIT