Pandoc readme to pdf
This commit is contained in:
parent
5712d3f51d
commit
46a69e6e8e
3 changed files with 16 additions and 0 deletions
8
Justfile
8
Justfile
|
@ -14,6 +14,14 @@ release:
|
|||
watch:
|
||||
watchexec -e c,cc,cpp,h,hpp -- make -j$(nproc)
|
||||
|
||||
# Produce a release PDF from readme
|
||||
readme:
|
||||
@# Requires pandoc pdflatex texlive-collection-fontsrecommended
|
||||
pandoc --from=gfm --to=pdf -o README.pdf README.md
|
||||
|
||||
readme-podman:
|
||||
podman run --rm --volume .:/data:Z docker.io/pandoc/latex --from=gfm --to=pdf README.md -o README.pdf
|
||||
|
||||
# Clean up
|
||||
clean:
|
||||
make clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue