init
This commit is contained in:
13
export.sh
Normal file
13
export.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
#pandoc "$mdf" -f markdown -t html -s -o "${mdf%.*}.html"
|
||||
#pandoc "${mdf%.*}.html" -f html -t odt -o "${mdf%.*}.odt"
|
||||
#rm "${file%.*}.html"
|
||||
|
||||
pandoc "$1" -f markdown \
|
||||
-V "\usepackage{sectsty}\sectionfont{\clearpage}" \
|
||||
-V geometry:letterpaper \
|
||||
-V geometry:margin=0.75in \
|
||||
-s -o "${1%.*}.pdf"
|
||||
|
||||
# https://learnbyexample.github.io/customizing-pandoc/#pdf-properties ???
|
||||
Reference in New Issue
Block a user