Fix wrong example in nested matches

This commit is contained in:
Federico Terzi 2020-03-20 21:20:33 +01:00
parent 67b09c6f5c
commit ebbe889cc5

View File

@ -297,6 +297,7 @@ and store all your images there. Let's say I stored the `cat.png` image. We can
Introduced in version 0.5.0, *nested matches* allow to include the output of a match inside another one. Introduced in version 0.5.0, *nested matches* allow to include the output of a match inside another one.
{% raw %}
```yaml ```yaml
- trigger: ":one" - trigger: ":one"
replace: "nested" replace: "nested"
@ -309,6 +310,7 @@ Introduced in version 0.5.0, *nested matches* allow to include the output of a m
params: params:
trigger: ":one" trigger: ":one"
``` ```
{% endraw %}
At this point, if you type `:nested` you'll see `This is a nested match appear`. At this point, if you type `:nested` you'll see `This is a nested match appear`.