summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/modules/theme/pages/admonition.adoc24
1 files changed, 22 insertions, 2 deletions
diff --git a/docs/modules/theme/pages/admonition.adoc b/docs/modules/theme/pages/admonition.adoc
index 3e59a52b..cb4abc6c 100644
--- a/docs/modules/theme/pages/admonition.adoc
+++ b/docs/modules/theme/pages/admonition.adoc
@@ -296,6 +296,8 @@ The `image` key is only relevant when image-based icons are used (`icons=image`)
It's an alternative to using the `icon` attribute on the admonition block.
The path is resolved starting from the location of the AsciiDoc document and relative to the value of the `iconsdir` attribute.
The image macro syntax is not supported for this key.
+The width is controlled by the `width` key.
+The `width` key is only used for image-based icons.
[cols="3,5,6a"]
|===
@@ -319,14 +321,23 @@ admonition:
tip:
name: fas-fire
+|scale
+|Number in range (0,1] +
+(default: `2 / 3`)
+|[source]
+admonition:
+ icon:
+ note:
+ scale: 1
+
|size
|xref:language.adoc#values[Number] +
-(default: `24`)
+(default: `36`)
|[source]
admonition:
icon:
note:
- size: 20
+ size: 24
|stroke-color
|xref:color.adoc[Color] +
@@ -336,6 +347,15 @@ admonition:
icon:
important:
stroke-color: #FF0000
+
+|width
+|xref:measurement-units.adoc[Measurement] +
+(default: `36`)
+|[source]
+admonition:
+ icon:
+ important:
+ width: 24
|===
[#name]