Skip to content

Commit 62425b8

Browse files
authored
Powerpoint/Google Slides file generation (#471)
* generate ppt Signed-off-by: David Longworth <djl@sent.com> * add powerpoint generator script Signed-off-by: David Longworth <djl@sent.com> * add missing icons Signed-off-by: David Longworth <djl@sent.com> * lint Signed-off-by: David Longworth <djl@sent.com> * typescript nonsence Signed-off-by: David Longworth <djl@sent.com> * more icons Signed-off-by: David Longworth <djl@sent.com> * docs Signed-off-by: David Longworth <djl@sent.com> * ignore error custGeom isn’t listed as a type gitbrent/PptxGenJS#1328 Signed-off-by: David Longworth <djl@sent.com> * move to preview folder Signed-off-by: David Longworth <djl@sent.com> --------- Signed-off-by: David Longworth <djl@sent.com>
1 parent 5aa9807 commit 62425b8

4 files changed

Lines changed: 681 additions & 2 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,17 @@ Take these hash values and use them as the values for the previously added entri
234234

235235
When updating an existing icon, just update the corresponding hash value(s) for the property combination(s) that changed.
236236

237+
### Syncing to Google Slides/PowerPoint
238+
239+
Optionally, you can generate a `.pptx` file which will contain the `Size=64` and `Spot/*` assets as native vectors, allowing you to recolor and scale. We maintain a [publicly available version of this](https://docs.google.com/presentation/d/1sisvc-ZBWxUsas10wlMGaT5MZX4nw85lIyReGPz5pqc/edit) for internal and external folks.
240+
241+
```
242+
npm run build
243+
244+
# Not part of the main build process (yet)
245+
npm run generate:powerpoint
246+
```
247+
237248
## Publishing a new release
238249
239250
In order to publish a new release to npm and NuGet, you just need to tag a new release and push it to origin:

0 commit comments

Comments
 (0)