From 188268e733249d2eeb779059674f43ab0bc1abd6 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Tue, 31 Mar 2020 13:08:02 +0200 Subject: [PATCH] Fix rendering error in the docs --- docs/passive-mode.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/passive-mode.md b/docs/passive-mode.md index e799255..993fbca 100644 --- a/docs/passive-mode.md +++ b/docs/passive-mode.md @@ -82,6 +82,7 @@ The really powerful thing is that you can **pass these arguments to the shell or This can be done by including `$0`, `$1` in the `cmd` parameter: +{% raw %} ```yaml - trigger: ":rev" replace: "{{output}}" @@ -93,6 +94,7 @@ This can be done by including `$0`, `$1` in the `cmd` parameter: cmd: "echo $0 | rev" trim: true ``` +{% endraw %} **For Windows users**: instead of `$0`, you must use `%0`. @@ -100,6 +102,7 @@ This can be done by including `$0`, `$1` in the `cmd` parameter: Using the `inject_args` parameter, arguments will be appended to the given list when launching a program. For example: +{% raw %} ```yaml - trigger: ":pyscript" replace: "{{output}}" @@ -112,6 +115,7 @@ Using the `inject_args` parameter, arguments will be appended to the given list - python - /path/to/your/script.py ``` +{% endraw %} At this point, if you expand `:pyscript/hello/`, your script will receive "hello" as the first argument.