Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme with Image in cell #191

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading