Skip to content

chisui/nix-mkPandoc

Repository files navigation

build examples nixpkgs-unstable

mkPandoc

Provides a way to use Nix to call pandoc.

usage

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.

About

call pandoc from Nix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published