\ No newline at end of file
+
diff --git a/packages/demo/src/examples/example02.html b/packages/demo/src/examples/example02.html
index 9632065..c385b0e 100644
--- a/packages/demo/src/examples/example02.html
+++ b/packages/demo/src/examples/example02.html
@@ -6,24 +6,30 @@
- The column width attribute will set a width. The hidden attribute will hide the column in Excel. The
- example below has the "Artist" column wider and the next column "Album" to be hidden in the exported Excel file.
+ The column widthattribute will set a width. The hiddenattribute will hide the column in Excel. The example
+ below has the "Artist" column wider and the next column "Album" to be hidden in the exported Excel file.
- Set different row options via setRowInstructions() method. For example, we changed the row height
- of the first row and change the text style to italic.
+ Set different row options via setRowInstructions()method. For example, we changed the row height of the first row and
+ change the text style to italic.
-
+
@@ -72,4 +78,4 @@
-
\ No newline at end of file
+
diff --git a/packages/demo/src/examples/example04.html b/packages/demo/src/examples/example04.html
index a281f6d..29983ce 100644
--- a/packages/demo/src/examples/example04.html
+++ b/packages/demo/src/examples/example04.html
@@ -6,24 +6,30 @@
- Set different fonts and colors via the createFormat() method, we can provide an object with the font and
- border properties.
+ Set different fonts and colors via the createFormat()method, we can provide an object with the fontand
+ borderproperties.
- We can create custom format by using the createFormat() method, in this example we formatted the "Price" column as
+ We can create custom format by using the createFormat()method, in this example we formatted the "Price" column as
currency and the Modified Date is a Date format.
- Set different background filling by using fill property which accepts a wide range of options like background color
- type of gradient or pattern and different colors.
+ Set different background filling by using fillproperty which accepts a wide range of options like background color type
+ of gradient or pattern and different colors.
- Tables are a feature that is apparently new to Office 2007+, with a comparable feature called a list in 2003 and below.
+ Tables are a feature that is apparently new to Office 2007+, with a comparable feature called a listin 2003 and below.
Basically, by putting data in a table, it gives the user some ways to filter and sort the data through UI. There are also some
formula benefits. Creating a table takes a few extra steps, mostly because of how a table's definition is really detached from a
worksheet.
@@ -24,7 +28,9 @@
Every once in a while you need a table theme that isn't available from the custom themes. You can use
- createTableStyle() to change style for a section like the header row and/or the whole table.
+ createTableStyle()to change style for a section like the header row and/or the whole table.
- You can insert pictures/images in Excel but it must be provided in base64 format.
+ You can insert pictures/images in Excel but it must be provided in base64format.
- You can insert pictures/images in Excel but it must be provided in base64 format.
- There are multiple type of anchors that you can use: oneCellAnchor/twoCellAnchor/absoluteAnchor cell anchors.
+ You can insert pictures/images in Excel but it must be provided in base64format. There are multiple type of anchors
+ that you can use: oneCellAnchor/twoCellAnchor/absoluteAnchorcell anchors.
- jsDelivr graciously provide CDNs for many JavaScript libraries including
+ jsDelivrgraciously provide CDNs for many JavaScript libraries including
Excel-Builder-Vanilla. Just use the following CDN links.
- The project now ships as ESM-Only, if you still wish to use the legacy CommonJS (CJS) format with require(),
- then use previous 3.x version.
+ The project now ships as ESM-Only, if you still wish to use the legacy CommonJS (CJS) format with require(), then use
+ previous 3.x version.
@@ -55,7 +57,9 @@
NPM
-
ESM import from
+
+ ESM import from
+
The library provides both CommonJS or ESM, see the example below: