From fe00c0fd338183df43751125c393969cec2a2a20 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 18 May 2024 22:56:48 -0400 Subject: [PATCH] chore: fix markdown issues --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7706ff7..75a0523 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,11 @@ Standalone string interpolator and template processor +```shell +echo '${name} is{{ range seq ${count:-3} }} cool{{ end }}!' | sigil -p name=Sigil ``` -$ echo '${name} is{{ range seq ${count:-3} }} cool{{ end }}!' | sigil -p name=Sigil + +```text Sigil is cool cool cool! ``` @@ -64,7 +67,7 @@ Instead of replacing all `{{` with `{{“{{”}}`, you can change the delimiters by setting the `SIGIL_DELIMS` environment variable. It is the left and right delimiter strings, separated by a coma. -``` +```shell SIGIL_DELIMS={{{,}}} sigil -i 'hello {{{ $name }}}' name=packer ``` @@ -104,4 +107,4 @@ documentation there. ## License BSD - +![beacon](https://ga-beacon.appspot.com/UA-58928488-2/sigil/readme?pixel "beacon")