This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
executable file
·27 lines (14 loc) · 1.65 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# https://pandoc.org/ fait la conversion de markdown à HTML5
pandoc readme.md --output=index-pandoc.json
pandoc index-pandoc.json --to=html5 --toc-depth=2 --section-divs --variable=sourcefile:readme.md --template=template --toc --email-obfuscation=none --standalone --output=index.html
# pandoc index-pandoc.json --to=html5 --toc-depth=2 --section-divs --variable=sourcefile:readme.md --template=template --toc --email-obfuscation=none --smart --standalone --output=index.html
# pandoc index-pandoc.json --toc-depth=2 --variable=sourcefile:index.md --variable=lang:french --toc --email-obfuscation=none --smart --output=index.odt
pandoc index-pandoc.json --toc-depth=2 --variable=sourcefile:index.md --variable=lang:fr-CA --toc --email-obfuscation=none --output=index.pdf
# pandoc index-pandoc.json --toc-depth=2 --variable=sourcefile:index.md --variable=lang:french --toc --email-obfuscation=none --output=index.pdf
# broken with subtitle, need newer pandoc
# pandoc index-pandoc.json --toc-depth=2 --variable=sourcefile:index.md --variable=lang:french --toc --email-obfuscation=none --smart --output=index.pdf
# pandoc index.md --from=markdown --to=html5 --toc-depth=2 --section-divs --variable=sourcefile:index.md --template=template --toc --email-obfuscation=none --smart --standalone --output=index.html
# pandoc index.md --toc-depth=2 --section-divs --variable=sourcefile:index.md --variable=lang:french --toc --email-obfuscation=none --smart --standalone --output=index.pdf
# pandoc index.md --toc-depth=2 --section-divs --variable=sourcefile:index.md --variable=lang:french --toc --email-obfuscation=none --smart --standalone --output=index.odt
# dat .