Pandoc readme to pdf
This commit is contained in:
parent
5712d3f51d
commit
46a69e6e8e
3 changed files with 16 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
|||
*.o
|
||||
*.d
|
||||
*.log
|
||||
*.pdf
|
||||
*a.out*
|
||||
*.elf
|
||||
build
|
||||
|
|
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
|
||||
|
|
6
README.md
Normal file
6
README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Title
|
||||
|
||||
abc
|
||||
|
||||
- Yes
|
||||
- No
|
Loading…
Reference in a new issue