mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Add server-side inkscape to external renderers
This commit is contained in:
parent
4ff71b39a1
commit
478973f48f
1 changed files with 10 additions and 1 deletions
|
@ -57,6 +57,15 @@
|
||||||
"cli_mode": "substitution_pipe",
|
"cli_mode": "substitution_pipe",
|
||||||
"output_format": "image\/svg+xml",
|
"output_format": "image\/svg+xml",
|
||||||
"output_classes": [ "invert-when-dark" ]
|
"output_classes": [ "invert-when-dark" ]
|
||||||
|
},
|
||||||
|
"svginkscape": {
|
||||||
|
"name": "Inkscape SVG",
|
||||||
|
"description": "Server-side SVG-to-PNG rendering with inkscape. Requires inkscape to be installed and in your PATH, of course.",
|
||||||
|
"url": "https://developer.mozilla.org/en-US/docs/Web/SVG/Element",
|
||||||
|
"cli": "inkscape {input_file} -e {output_file}",
|
||||||
|
"cli_mode": "file",
|
||||||
|
"output_format": "image\/svg+xml",
|
||||||
|
"output_classes": [ ]
|
||||||
}
|
}
|
||||||
} },
|
} },
|
||||||
"parser_ext_time_limit": { "type": "number", "description": "The number of seconds external renderers are allowed to run for. Has no effect if external renderers are turned off. Also currently has no effect on Windows.", "default": 5 },
|
"parser_ext_time_limit": { "type": "number", "description": "The number of seconds external renderers are allowed to run for. Has no effect if external renderers are turned off. Also currently has no effect on Windows.", "default": 5 },
|
||||||
|
|
Loading…
Reference in a new issue