diff options
author | Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> | 2021-03-07 22:59:50 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-03-10 08:55:22 -0500 |
commit | aa71452f1a5f73f1c140b4dc76e1b7acfefafad8 (patch) | |
tree | 4ea4c4182b5a1d3178110a5bd7655f2c5dce867c /docs/markdown | |
parent | e124afa409e87a9249a71663e8b7cbf5a313ce4f (diff) | |
download | meson-aa71452f1a5f73f1c140b4dc76e1b7acfefafad8.zip meson-aa71452f1a5f73f1c140b4dc76e1b7acfefafad8.tar.gz meson-aa71452f1a5f73f1c140b4dc76e1b7acfefafad8.tar.bz2 |
Yet another documentation update
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Syntax.md | 3 |
1 files changed, 3 insertions, 0 deletions
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 |