Skip to content

Instantly share code, notes, and snippets.

@chisui
Last active October 24, 2019 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chisui/70d68e75f3a1982973d3d9afac7916fb to your computer and use it in GitHub Desktop.
Save chisui/70d68e75f3a1982973d3d9afac7916fb to your computer and use it in GitHub Desktop.
mk-pandoc issue-02
{ pkgs ? import <nixpkgs> {} }:
let
mkPandoc = import (pkgs.fetchFromGitHub {
owner = "chisui";
repo = "nix-mkPandoc";
rev = "e4f47e2ca166a8b103ef50497d937aae819ebe93";
sha256 = "053jfzqmynlm3rmm73f3aybnlym5c07mpwhn24km5ln373zv9nwv";
}) {};
in mkPandoc {
name = "example.html";
version = "0.1.0";
src = ./revealjs.md;
to = "revealjs";
variables = {
theme = "serif";
revealjs-url = "https://github.com/hakimel/reveal.js";
};
incremental = true;
standalone = true;
}
author title date
John Doe
Demo Slide
June 21, 2017

Foo

main = putStrLn "Hello World"

Bar

  • test
  • test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment