Provides a way to use Nix to call pandoc.
The basic usage is:
{ pkgs ? import <nixpkgs> { }
}@args:
let
mkPandoc = import (builtins.fetchTarball {
url = "https://github.com/chisui/nix-mkPandoc/archive/master.tar.gz";
}) args;
in mkPandoc {
name = "simple.pdf";
src = builtins.toFile "doc.md" ''
# Example
This is a simple example.
'';
}
For stuff like LaTex-templates, bibliography and filters take a look at the examples directory.
An example that uses almost all supported features can be found here.