Skip to content

Commit

Permalink
docs: document escaping of the comma in filenames (fix #3064)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Dec 9, 2023
1 parent 0644ccc commit a5e9498
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/filename.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ The value can be omitted for boolean options. In this case, `option_name` will b

Example: `%token:option1=value1,option2%`

!!! note

Since the comma is used to delimitate options, you need to escape it with `^` if you want to use it in the value, otherwise it'll be considered as the next option.

Example: `%tags:separator=^,%` will use `,` as separator.


### Common options
#### Max length (int)
If the contents of the token is longer than this value, it will be cut.
Expand Down

0 comments on commit a5e9498

Please sign in to comment.