Initial commit

This commit is contained in:
Tibo De Peuter 2023-06-14 17:41:41 +02:00
commit 5d8463699f
11 changed files with 405 additions and 0 deletions

33
pandoc/flake.nix Normal file
View file

@ -0,0 +1,33 @@
{
description = "Pandoc flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils}:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
pandoc
texlive.combined.scheme-full
];
shellHook = ''
pandoc \
-s \
-o output.pdf \
-f markdown+smart+header_attributes+yaml_metadata_block+auto_identifiers+implicit_figures \
--pdf-engine lualatex \
--dpi=300 \
header.yaml \
input.md
'';
};
}
);
}