-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathsettings.ini
More file actions
23 lines (20 loc) · 888 Bytes
/
settings.ini
File metadata and controls
23 lines (20 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $FILE - input file
# $HTML - path to output.html
# $BASENAME - basename of input file
# $BASENAMENOEXT - basename of input file w/o extension
# $TMPDIR - path to output dir
# $FILEDIR - path to input file dir
# $PLUGDIR - path to plugin dir
# keeptmp = 1 - dont delete temp dir on failure
# filename = somefile.ext - use somefile.ext as filename in $HTML instead of output.html
# fallbackopen = somefile.ext - load another file from tmpdir if expected file doesnt exist
[md]
# command = markdown_py $FILE -f $HTML
# command = hoedown --all-span --all-block --all-flags --hard-wrap $FILE > $HTML
command = md2html --github $FILE -o $HTML
[fb2]
# command = ebook2html $FILE > $HTML
# command = xsltproc /path/to/FB2_22_xhtml.xsl $FILE > $HTML
command = mutool convert -F xhtml -O preserve-images -o $HTML $FILE
[epub]
command = mutool convert -F xhtml -O preserve-images -o $HTML $FILE