From 6f8c7a613f4e216e596ff7f9e2dc88d110648a8b Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Thu, 3 Oct 2019 11:28:04 +0200 Subject: [PATCH] improving documentation about header/footer, fonts and fixing a typo about paper size (fixes #118, closes #119) --- build/docs/content/04-html.md | 16 ++++++++-------- build/docs/content/14-fonts.md | 4 ++++ docs/index.html | 23 ++++++++++++++--------- 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/build/docs/content/04-html.md b/build/docs/content/04-html.md index 858f4d74..4eae9357 100644 --- a/build/docs/content/04-html.md +++ b/build/docs/content/04-html.md @@ -95,14 +95,14 @@ The following classes allow you to inject printing values: * `pageNumber`: current page number * `totalPage`: total pages in the document -> **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`. +There are some limitations: -For images, the only solution currently is to use a `base64` encoded source: - -```html -Red dot -``` +* JavaScript is not executed +* external resources are not loaded +* the CSS properties are independant of the ones used in the `index.html` file +* `footer.html` CSS properties override the ones from `header.html` +* only fonts installed in the Docker image are loaded (see the [fonts section](#fonts)) +* images only work using a `base64` encoded source (`<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" /> - +