Yet another documentation update

pull/8513/head
Laurin-Luis Lehning 4 years ago committed by Xavier Claessens
parent e124afa409
commit aa71452f1a
  1. 3
      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

Loading…
Cancel
Save