Skip to content

Commit 73363ff

Browse files
author
SuchiraD
committed
Added a parameter to allow nested IFs
1 parent d3b1ab4 commit 73363ff

7 files changed

Lines changed: 3731 additions & 1750 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,14 @@ const report = await createReport({
161161
* (Default: 1)
162162
*/
163163
compressionLevel?: number;
164+
/**
165+
* Whether to allow nested IF commands within the same paragraph or table row.
166+
* By default, the library throws an error when it detects an IF command
167+
* nested within another IF command on the same line or table row.
168+
* Set to true to skip this validation check.
169+
* (Default: false)
170+
*/
171+
allowNestedIf?: boolean;
164172
});
165173
```
166174

0 commit comments

Comments
 (0)