From 8f42f0fa7770d570ae0925ce6bda19e20259a052 Mon Sep 17 00:00:00 2001 From: Nicolas Vogel Date: Mon, 10 Aug 2020 11:45:28 +0200 Subject: [PATCH] Fix documentation example for the indent function We must use interpolation, using the %{} directive will trigger the following error "indent" is not a valid template control keyword --- website/docs/configuration/functions/indent.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/configuration/functions/indent.html.md b/website/docs/configuration/functions/indent.html.md index 674a6e1dc..54067213d 100644 --- a/website/docs/configuration/functions/indent.html.md +++ b/website/docs/configuration/functions/indent.html.md @@ -26,7 +26,7 @@ This function is useful for inserting a multi-line string into an already-indented context in another string: ``` -> " items: %{indent(2, "[\n foo,\n bar,\n]\n")}" +> " items: ${indent(2, "[\n foo,\n bar,\n]\n")}" items: [ foo, bar,