You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cli.yml
+33-71
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,14 @@ args:
73
73
- render-block
74
74
- math-block
75
75
- figure-insert
76
-
- verbatim-block-file-insert
77
-
- rendered-block-file-insert
76
+
- verbatim-block-insert
77
+
- render-block-insert
78
78
- text-block
79
79
- quotation-block
80
80
- line-block
81
81
- definition-block
82
-
- explicit-column-block
83
-
- implicit-column-block
82
+
- explicit-column
83
+
- implicit-column
84
84
- field-block
85
85
- output-block
86
86
- media-block-insert
@@ -108,21 +108,39 @@ args:
108
108
- render-block
109
109
- math-block
110
110
- figure-insert
111
-
- verbatim-block-file-insert
112
-
- rendered-block-file-insert
111
+
- verbatim-block-insert
112
+
- render-block-insert
113
113
- text-block
114
114
- quotation-block
115
115
- line-block
116
116
- definition-block
117
-
- explicit-column-block
118
-
- implicit-column-block
117
+
- explicit-column
118
+
- implicit-column
119
119
- field-block
120
120
- output-block
121
121
- media-block-insert
122
122
- form-block
123
123
- macros
124
124
- variables
125
125
126
+
- fonts:
127
+
display_order: 10
128
+
long: fonts
129
+
alias: ttf
130
+
alias: woff
131
+
help: Set ttf or woff fonts to be able to use them for rendering
132
+
takes_value: true
133
+
use_delimiter: true
134
+
135
+
- relative_insert_prefix:
136
+
display_order: 20
137
+
long: relative-insert-prefix
138
+
alias: insert-prefix
139
+
help: |
140
+
This prefix will be set before inserts in the rendered document to inserts that use relative paths.
141
+
Note: During rendering, the original relative path is taken.
142
+
takes_value: true
143
+
126
144
## Reference options
127
145
128
146
- citation_style:
@@ -146,74 +164,25 @@ args:
146
164
147
165
## HTML options
148
166
149
-
- html_root_path:
167
+
- html_template:
150
168
display_order: 40
151
-
long: html-root
152
-
help: Set the root path that will be set before relative file and image inserts.
169
+
long: html-template
170
+
help: |
171
+
Set a template html file with `{{ head }}` set inside the `head` element and `{{ body }}` set inside the body element.
172
+
Styling, fonts and scripts will be inserted at `{{ head }}` and the rendered Unimarkup content is placed inside `{{ body }}`.
173
+
Optionally, `{{ toc }}` can be set to get the table of contents (Note: This will not remove a rendered table of contents inside the rendered Unimarkup content if present).
153
174
takes_value: true
154
175
155
176
- html_mathmode:
156
177
display_order: 41
157
178
long: html-mathmode
158
-
help: Set the mathmode to be used for rendered html documents
179
+
help: Set the mathmode of MathJax to be used for rendered html documents.
159
180
takes_value: true
160
181
possible_values:
161
182
- svg
162
183
- embed
163
184
- cdn
164
185
165
-
## PDF options
166
-
167
-
- pdf_layout:
168
-
display_order: 50
169
-
long: pdf-layout
170
-
help: Set the pdf layout of the rendered document. The custom format must be set with the options `--pdf-custom-height` and `--pdf-custom-width`.
171
-
takes_value: true
172
-
possible_values:
173
-
- A5
174
-
- A4
175
-
- A3
176
-
- A2
177
-
- A1
178
-
- A0
179
-
- Custom
180
-
181
-
- pdf_orientation:
182
-
display_order: 51
183
-
long: pdf-orientation
184
-
help: Set the pdf orientation of the rendered document.
185
-
takes_value: true
186
-
possible_values:
187
-
- vertical
188
-
- horizontal
189
-
requires:
190
-
- pdf_layout
191
-
192
-
- ttf:
193
-
display_order: 52
194
-
long: true-type-font
195
-
alias: ttf
196
-
help: Set true type fonts to be able to use them for rendering
197
-
takes_value: true
198
-
use_delimiter: true
199
-
200
-
- pdf_custom_height:
201
-
display_order: 53
202
-
long: pdf-custom-height
203
-
help: Set a custom height [in mm] for the rendered pdf document.
204
-
takes_value: true
205
-
requires:
206
-
- pdf_layout
207
-
208
-
- pdf_custom_width:
209
-
display_order: 54
210
-
long: pdf-custom-width
211
-
help: Set a custom width [in mm] for the rendered pdf document.
0 commit comments