aboutsummaryrefslogtreecommitdiff
path: root/config.example.yml
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-28 00:25:31 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-28 00:25:31 +0000
commit421d8de29d17d9390cae1f56bfc98667158a8096 (patch)
treefc1ddf31c5a0b36c43d0fef83402e309c20d409a /config.example.yml
parentBump version and update changelog and readme (diff)
downloadpaper2remarkable-421d8de29d17d9390cae1f56bfc98667158a8096.tar.gz
paper2remarkable-421d8de29d17d9390cae1f56bfc98667158a8096.zip
Add support for a configuration file
Diffstat (limited to 'config.example.yml')
-rw-r--r--config.example.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/config.example.yml b/config.example.yml
new file mode 100644
index 0000000..b50b88e
--- /dev/null
+++ b/config.example.yml
@@ -0,0 +1,23 @@
+---
+core:
+ crop: 'left' # or: 'none', 'left', 'right'
+ blank: false # or: false
+ upload: true # or: false
+ verbose: true # or: false
+ experimental: true # or: false
+
+# System settings are all optional, but can be used if executables are not on
+# the PATH.
+system:
+ gs: /usr/bin/gs
+
+# Settings for styling HTML sources
+html:
+ css: |
+ @page { size: 702px 936px; margin: 1in; }
+ img { display: block; margin: 0 auto; text-align: center; max-width: 70%; }
+ h1,h2,h3 { font-family: 'Montserrat'; }
+ p, li { font-size: 12pt; line-height: 2; font-family: 'Montserrat'; }
+
+ font_urls:
+ - https://fonts.googleapis.com/css2?family=Montserrat&display=swap