From 7f61c634257ecb854dcfe3a3e3459c0bdb378f8c Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Mon, 30 Sep 2019 17:27:52 +0200 Subject: [PATCH] adding information about how to use images in header/footer. Thanks @LoicHa --- build/docs/content/04-html.md | 6 ++++++ docs/index.html | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/build/docs/content/04-html.md b/build/docs/content/04-html.md index 8f1e5070..858f4d74 100644 --- a/build/docs/content/04-html.md +++ b/build/docs/content/04-html.md @@ -98,6 +98,12 @@ The following classes allow you to inject printing values: > **Attention:** the CSS properties are independant of the ones used in the `index.html` file. > Also, `footer.html` CSS properties override the ones from `header.html`. +For images, the only solution currently is to use a `base64` encoded source: + +```html +Red dot +``` + ### cURL ```bash diff --git a/docs/index.html b/docs/index.html index 98c168d3..09b8ad2e 100755 --- a/docs/index.html +++ b/docs/index.html @@ -454,6 +454,11 @@ Respectively, a file named header.html and footer.html Also, footer.html CSS properties override the ones from header.html.

+

For images, the only solution currently is to use a base64 encoded source:

+ +
<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
+
+

cURL