Skip to content

Commit

Permalink
Add an escape so Yari don't believe this is a macro (mdn#32998)
Browse files Browse the repository at this point in the history
* Add an escape so Yari don't believe this is a macro

* Add nolint
  • Loading branch information
teoli2003 authored Apr 9, 2024
1 parent 2b4c1cb commit 5d848f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ One use of this feature is inserting dynamic text, as shown in the following exa
The double curly braces instruct Angular to interpolate the contents within them.
The value for `title` comes from the component class:

```js
```js-nolint
import { Component } from "@angular/core";
@Component({
selector: "app-root",
standalone: true,
template: "<h1>{{ title }}</h1>",
template: "<h1>\{{ title }}</h1>",
styleUrls: ["./app.component.css"],
})
export class AppComponent {
Expand Down

0 comments on commit 5d848f9

Please sign in to comment.