An open API service indexing awesome lists of open source software.

https://github.com/boardfish/md2pdf

Convert Markdown files to a LaTeX PDF
https://github.com/boardfish/md2pdf

Last synced: 3 months ago
JSON representation

Convert Markdown files to a LaTeX PDF

Awesome Lists containing this project

README

        

# Markdown to PDF

## Usage

Give it a list of markdown files and mount the directory you want to use to /source:

Also works with any Bibtex bibliographies (through pandoc-citeproc) and images you have in the folder.

```
docker run --rm -v $(pwd):/source boardfish/md2pdf *.md
```

It's also possible to set the `date` and other variables inline:

```
docker run --rm -v $(pwd):/source boardfish/md2pdf --variable date=$(date "+%Y-%m-%d") *.md
```