aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorLaurin-Luis Lehning <65224843+e820@users.noreply.github.com>2021-03-07 22:59:50 +0100
committerXavier Claessens <xclaesse@gmail.com>2021-03-10 08:55:22 -0500
commitaa71452f1a5f73f1c140b4dc76e1b7acfefafad8 (patch)
tree4ea4c4182b5a1d3178110a5bd7655f2c5dce867c /docs/markdown
parente124afa409e87a9249a71663e8b7cbf5a313ce4f (diff)
downloadmeson-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.md3
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