Skip to content

Commit

Permalink
Update README.md with new functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler committed Dec 10, 2024
1 parent 22fd90f commit 4a55af6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@ The implementation is a subset of the [ESI Language Specification 1.0](https://w

- `<esi:include>` (+ `alt`, `onerror="continue"`)
- `<esi:try>` | `<esi:attempt>` | `<esi:except>`
- `<esi:vars>` | `<esi:assign>`
- `<esi:choose>` | `<esi:when>` | `<esi:otherwise>`
- `<esi:comment>`
- `<esi:remove>`

Other tags will be ignored and served to the client as-is.

This implementation also includes an expression interpreter and library of functions that can be used. Current functions include:

- `$lower(string)`
- `$html_encode(string)`
- `$replace(haystack, needle, replacement [, count])`

## Example Usage

```rust,no_run
Expand Down

0 comments on commit 4a55af6

Please sign in to comment.