Skip to content

Commit

Permalink
add template formula example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
meld-cp committed Jul 6, 2024
1 parent a1fb536 commit d18c37c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -963,9 +963,11 @@ MiniExcel.SaveAsByTemplate(path, templatePath, value);

##### 1. Example
Prefix your formula with `$` and use `$enumrowstart` and `$enumrowend` to mark references to the enumerable start and end rows:

![image](docs/images/template-formulas-1.png)

When the template is rendered, the `$` prefix will be removed and `$enumrowstart` and `$enumrowend` will be replaced with the start and end row numbers of the enumerable:

![image](docs/images/template-formulas-2.png)

##### 2. Other Example Formulas:
Expand Down

0 comments on commit d18c37c

Please sign in to comment.