highlighting ini-blocks

master
Sergey G. Brester 2019-03-14 21:18:14 +01:00
parent a4e8fbada4
commit dea9bc0ec2
1 changed files with 3 additions and 3 deletions

@ -9,7 +9,7 @@ Our implementation is more complex (allows includes, recursive interlaced substi
This case `cftoken = %(cftoken)s` is not allowed, because it will produce endless cycle (always substitute itself, again and again).
As well as following is not allowed also (for the same reason):
```
```ini
A = %(B)s
B = %(C)s
C = %(A)s
@ -19,14 +19,14 @@ Since we support an extensions called "known" with syntax `%(known/option)s`, af
So try your luck with `cftoken = %(known/cftoken)s`
If you will set resp. deliver some init parameter from jail to filter or action, you can currently use another interpolation extension of us with another syntax `<option>` (Note: this is a run-time substitution):
```
```ini
# action my-action.conf
[Definition]
cftoken = <cftoken>
[Init]
cftoken = default value
```
```
```ini
# jail.local
[my-jail]
banaction = my-action[cftoken="customized value"]