From aa71452f1a5f73f1c140b4dc76e1b7acfefafad8 Mon Sep 17 00:00:00 2001 From: Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> Date: Sun, 7 Mar 2021 22:59:50 +0100 Subject: Yet another documentation update --- docs/markdown/Syntax.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index e85c2cd..50287b2 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -170,6 +170,8 @@ functionality described below. ### String formatting +#### .format() + Strings can be built using the string formatting functionality. ```meson @@ -181,6 +183,7 @@ res = template.format('text', 1, true) As can be seen, the formatting works by replacing placeholders of type `@number@` with the corresponding argument. +#### Format strings *(Added 0.58)* Format strings can be used as a non-positional alternative to the -- cgit v1.1