mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-16 01:53:51 +00:00
7 lines
234 B
Bash
Executable File
7 lines
234 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
md_source="${1:-/source/source.md}"
|
|
|
|
pandoc -s --template="templates/default.html" -f markdown-smart --toc -c css/style-portrait.css "${md_source}" -o "source.html"
|
|
python3 -m weasyprint source.html /output/output.pdf
|