Mustache and Emojis
What's new in version 19.02 ?
A brand new Dokuwiki Reader
Pandoc is now able to parse dokuwiki pages ! You can now use pandocker as
converter to migrate from dokuwiki to markdown.
docker run [...] --from dokuwiki source.doku.txt --to markdown
Emojis ! 😎
Emojis are supported with the latex engine for PDF output (they were already
supported for revealjs and HTML outputs).
Simply add the following header-include
parameter in your documents
---
title: Hello, 🌍
header-includes: |
\usepackage{xltxtra}
\usepackage{xelatexemoji}
---
😀
And then run pandocker as always:
docker run [...] --pdf-engine=xelatex lol.md -o lol.pdf
Mustache
Pandocker now allows you to put variables into your markdown documents, with
their values stored in a separate file. The language we use is the mustache
template syntax.
You can simply add variables like this
---
mustache:
- tests/vars.yml
---
Rapport par {{auteur}}, relu par {{relecteur}}
And then define the variables in the tests/vars.yml
file :
auteur: Satsuki
relecteur: Mei
To activate this option, add the mustache filter to your command line
docker run [...] --filter pandoc-mustache [...]