myme / piddif

Convert multiple document formats to Html5-based PDFs

Home Page:https://piddif.myme.no

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

piddif

Convert multiple document formats to Html5-based PDFs.

Note: The "print to PDF" part is missing, use a browser :p

Synopsis

Org:

$ piddif example.org > org.html

Markdown:

$ piddif --markdown example.md > markdown.html

Development

This project is designed to be developed using nix. Install nix first.

Jump into a dev shell

nix develop

Build a docker image

Using nix it's simple to build a "lean" docker image:

nix build .#image

I say "lean" because pandoc is huuuge.

Running a reloading server

Use ghcid to start the server in a reloading mode:

nix develop -c dev-server

Note: This doesn't reload on changes to the static assets like form.html.

About

Convert multiple document formats to Html5-based PDFs

https://piddif.myme.no

License:MIT License


Languages

Language:Haskell 50.9%Language:CSS 35.7%Language:HTML 7.7%Language:Nix 5.7%