summaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/pages/inline-images.adoc
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-06-24 19:28:30 -0600
committerGitHub <noreply@github.com>2023-06-24 19:28:30 -0600
commitec35325e980281d5d0a41541dd2164731f263ba1 (patch)
tree64fded559fd9775bf73ab97b39443ba5b7b992af /docs/modules/ROOT/pages/inline-images.adoc
parent53ce6cb26b0339364f9c3569e4b8964fd74cb59a (diff)
resolves #2428 prevent inline image from being scaled down in normal table cell; support fit=none attribute on inline image (PR #2432)
Diffstat (limited to 'docs/modules/ROOT/pages/inline-images.adoc')
-rw-r--r--docs/modules/ROOT/pages/inline-images.adoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/inline-images.adoc b/docs/modules/ROOT/pages/inline-images.adoc
index 77de2c27..0c86cce1 100644
--- a/docs/modules/ROOT/pages/inline-images.adoc
+++ b/docs/modules/ROOT/pages/inline-images.adoc
@@ -9,6 +9,7 @@ Inline images can be sized in much the same way as block images, using the `pdfw
* Inline images do not currently support a default width controlled from the theme.
To confine the inline image to the height of the line while preserving the aspect ratio, use the attribute `fit=line`.
+If you want to prevent the inline image from being fit to the content area, such as in a normal table cell, use `fit=none`.
If the resolved height of the image is less than or equal to 1.5 times the line height, the image won't disrupt the line height and is centered vertically in the line.
This is done to maximize the use of available space.