Skip to content

Commit e1a488a

Browse files
committed
update
1 parent 3fab807 commit e1a488a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

articles/azure-resource-manager/bicep/data-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,22 +386,22 @@ var myVar5 = '''
386386
comments // are included
387387
/* because everything is read as-is */
388388
'''
389+
```
390+
391+
With Bicep CLI version 0.X.X or higher, string interpolation is supported. An optional `$` prefix can be added before the opening delimiter to enable string interpolation using standard Bicep `${...}` syntax. If you need to include `${...}` as a literal value without escaping, you can control interpolation by repeating the `$` prefix. Interpolation is only performed when the number of `$` characters preceding `${...}` matches the number of `$` characters used in the opening delimiter.
389392

393+
```bicep
390394
// evaluates to "interpolation\nis ${blocked}"
391395
// note ${blocked} is part of the string, and is not evaluated as an expression
392396
var myVar6 = '''interpolation
393397
is ${blocked}'''
394-
```
395-
396-
With Bicep CLI version 0.X.X or higher, string interpolation is supported. An optional `$` prefix can be added before the opening delimiter to enable string interpolation using standard Bicep `${...}` syntax. If you need to include ${...} as a literal value without escaping, you can control interpolation by repeating the `$` prefix. Interpolation is only performed when the number of `$` characters preceding `${...}` matches the number of `$` characters used in the opening delimiter.
397398
398-
```bicep
399399
// evaluates to "this is a test"
400400
var interpolated = 'a test'
401401
var myVar7 = $'''
402402
this is ${interpolated}'''
403403
404-
// evaluates to "this is a testthis is not ${interpolated}"
404+
// evaluates to "this is a test\nthis is not ${interpolated}"
405405
var interpolated = 'a test'
406406
var myVar8 = $$'''
407407
this is $${interpolated}

articles/azure-resource-manager/templates/syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Template structure and syntax
33
description: Describes the structure and properties of Azure Resource Manager templates (ARM templates) using declarative JSON syntax.
44
ms.topic: article
55
ms.custom: devx-track-arm-template
6-
ms.date: 04/28/2025
6+
ms.date: 01/13/2026
77
---
88

99
# Understand the structure and syntax of ARM templates
@@ -497,7 +497,7 @@ You can break a string into multiple lines. For example, see the `location` prop
497497
],
498498
```
499499

500-
In Bicep, see [multi-line strings](../bicep/file.md#multi-line-strings).
500+
In Bicep, see [multi-line strings](../bicep/data-types.md#multi-line-strings).
501501

502502
## languageVersion 2.0
503503

0 commit comments

Comments
 (0)