From b5ba88b69e9c8e244fcd15df9dc0393f37666364 Mon Sep 17 00:00:00 2001 From: Jonathan DURAND Date: Thu, 28 Mar 2024 15:07:03 +0100 Subject: [PATCH] Update readme with Image in cell --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 46cc3cb..7530ab8 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,29 @@ those objects have keys `name` and `age`, you may end up with something like: If a particular value is an array, then it will be repeated across columns as above. +### Images in cell + +> **⚠️ Warning :** This functionality is avaible only from new Excel version (2308 - maybe more recent but 2302 does not work). + +*images in cell* automatically match cell size (merge cell size) and formatted cell (alignment, colorization etc.) + +You can insert *images in cell* with + | My image: | ${imageincell:imageName} | + +Given data + + var template = { imageName: "helloImage.jpg"} + +You can insert a list of images with + + | My images | ${table:images.name:imageincell} | + +Given data + + var template = { images: [{name : "helloImage1.jpg"}, {name : "helloImage2.jpg"}]} + +support the same format as 'image' just below + ### Images You can insert images with