aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-06-28 16:43:33 +0530
committerArun Isaac2021-06-28 16:43:33 +0530
commit3d9954a73564e1e7d8296c50971f3e5c63bf3a02 (patch)
tree169c4da395940df1eacb975d51c00e3621f70bdf
parentb78afadc51c4c5666114fab26db31e0199c1f50c (diff)
downloadccwl-3d9954a73564e1e7d8296c50971f3e5c63bf3a02.tar.gz
ccwl-3d9954a73564e1e7d8296c50971f3e5c63bf3a02.tar.lz
ccwl-3d9954a73564e1e7d8296c50971f3e5c63bf3a02.zip
ccwl: Support SVG images in HTML documentation.
* ccwl/skribilo.scm: Add "svg" to the image-format custom of the HTML engine.
-rw-r--r--ccwl/skribilo.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/ccwl/skribilo.scm b/ccwl/skribilo.scm
index 7894ad4..0c08a31 100644
--- a/ccwl/skribilo.scm
+++ b/ccwl/skribilo.scm
@@ -129,6 +129,8 @@ and END are line numbers indexed from 1."
(let ((html-engine (find-engine 'html)))
(engine-custom-set! html-engine 'css "/style.css")
(engine-custom-set! html-engine 'charset "UTF-8")
+ (engine-custom-set! html-engine 'image-format
+ (list "svg" "png" "gif" "jpg" "jpeg"))
(markup-writer 'abbr html-engine
#:options '(#:short #:long)
#:action (lambda (markup engine)