Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matronator authored May 22, 2024
1 parent 9c7d260 commit 8752d0a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ Enhance your JSON/YAML/NEON files with variables and PHP functions as filters. C
- [Usage](#usage)
- [Template syntax](#template-syntax)
- [Conditions](#conditions)
- [Example:](#example)
- [Variables](#variables)
- [Default values](#default-values)
- [Default values](#default-values)
- [Filters](#filters)
- [Example:](#example-1)
- [Example:](#example-2)
- [Built-in filters](#built-in-filters)
- [Use in code](#use-in-code)
- [Parse string or file](#parse-string-or-file)
Expand Down Expand Up @@ -102,7 +99,7 @@ some:

Variables are wrapped in `<%` and `%>` with optional space on either side (both `<%nospace%>` and `<% space %>` are valid) and the name must be an alphanumeric string with optional underscore/s (this regex `[a-zA-Z0-9_]+?`).

#### Default values
##### Default values

Variables can optionally have a default value that will be used if no argument is provided for that variable during parsing. You can specify a default value like this: `<% variable='Default' %>`

Expand Down

0 comments on commit 8752d0a

Please sign in to comment.