added name & style in building script
This commit is contained in:
parent
1ff57ee381
commit
c005cc8aff
1 changed files with 5 additions and 3 deletions
|
@ -3,11 +3,13 @@
|
|||
main() {
|
||||
local file="$(readlink --canonicalize-existing "${0}")"
|
||||
local root="$(dirname "${file}")"
|
||||
local input="${root}/main.md"
|
||||
local output="${root}/main.pdf"
|
||||
local name="main"
|
||||
local input="${root}/${name}.md"
|
||||
local output="${root}/${name}.pdf"
|
||||
local style="tango"
|
||||
pandoc \
|
||||
"${input}" \
|
||||
--highlight-style "tango" \
|
||||
--highlight-style "${style}" \
|
||||
--output "${output}" \
|
||||
--pdf-engine "xelatex" \
|
||||
\
|
||||
|
|
Loading…
Reference in a new issue