Skip to content

Commit 5470514

Browse files
committed
Fix broken handlebars highlighting
1 parent 82645d8 commit 5470514

File tree

46 files changed

+112
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+112
-108
lines changed

guides/release/in-depth-topics/patterns-for-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The most frequently used of these is `aria-describedby` and `aria-labelledby`.
117117
118118
In these cases, make sure to declare _all_ of the relevant values in the correct order.
119119
120-
```hbs
120+
```handlebars
121121
<MyInput @input-label="Password" aria-describedby="text-help-0 text-help-1" />
122122
```
123123

guides/release/in-depth-topics/rendering-values.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,24 @@ In Ember, rendering occurs via syntax, rather than by value -- so _anything_ can
33
## Modifiers
44

55
For Modifiers, there is a specific syntax that only modifiers may reside in
6-
```hbs
6+
7+
```handlebars
78
<div {{someModifier}}>
89
```
910
or via property on some object
10-
```hbs
11+
12+
```handlebars
1113
<div {{this.property.someModifier}}>
1214
```
1315
or via an argument passed to a component
14-
```hbs
16+
17+
```handlebars
1518
<div {{@someModifier}}>
1619
```
1720

1821
Modifiers can be curried with the `modifier` helper:
19-
```hbs
22+
23+
```handlebars
2024
{{! In a component called "Example" }}
2125
{{yield (modifier someModifier "arguments" "here")}}
2226
@@ -30,24 +34,24 @@ Modifiers can be curried with the `modifier` helper:
3034
## Helpers
3135

3236
For Helpers, there is a specific syntax that only helpers may reside in
33-
```hbs
37+
```handlebars
3438
{{ (theHelper) }}
3539
```
3640
or nested in a sub-expression
37-
```hbs
41+
```handlebars
3842
{{yield (hash key=(theHelper) key2=(theHelper with args)) }}
3943
```
4044
or via property on some object
41-
```hbs
45+
```handlebars
4246
{{ (this.property.theHelper) }}
4347
```
4448
or via an argument passed to a component
45-
```hbs
49+
```handlebars
4650
{{ (@theHelper) }}
4751
```
4852

4953
Helpers can be curried with the `helper` helper:
50-
```hbs
54+
```handlebars
5155
{{! In a component called "Example" }}
5256
{{yield (helper someHelper "arguments" "here")}}
5357
@@ -60,20 +64,20 @@ Helpers can be curried with the `helper` helper:
6064
## Components
6165

6266
For Components, there is a specific syntax that only components may reside in
63-
```hbs
67+
```handlebars
6468
<AComponent />
6569
```
6670
or via a property on some object
67-
```hbs
71+
```handlebars
6872
<this.someComponent />
6973
```
7074
or via an argument passed to a component
71-
```hbs
75+
```handlebars
7276
<@someComponent />
7377
```
7478

7579
Components can be curried with the `component` helper:
76-
```hbs
80+
```handlebars
7781
{{!
7882
In a component called "Example".
7983
Note that components may only receive named arguments

guides/v3.10.0/reference/accessibility-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ember feature:disable application-template-wrapper
1616

1717
**Application Template Wrapper Disabled** _(preferred)_
1818

19-
```hbs
19+
```handlebars
2020
<body>
2121
<header></header>
2222
<main></main>
@@ -26,7 +26,7 @@ ember feature:disable application-template-wrapper
2626

2727
**Application Template Wrapper Enabled**
2828

29-
```hbs
29+
```handlebars
3030
<body>
3131
<div class="ember-view">
3232
<header role="banner"></header>

guides/v3.11.0/reference/accessibility-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ember feature:disable application-template-wrapper
1616

1717
**Application Template Wrapper Disabled** _(preferred)_
1818

19-
```hbs
19+
```handlebars
2020
<body>
2121
<header></header>
2222
<main></main>
@@ -26,7 +26,7 @@ ember feature:disable application-template-wrapper
2626

2727
**Application Template Wrapper Enabled**
2828

29-
```hbs
29+
```handlebars
3030
<body>
3131
<div class="ember-view">
3232
<header role="banner"></header>

guides/v3.12.0/accessibility/application-considerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ember feature:disable application-template-wrapper
4545

4646
**Application Template Wrapper Disabled** _(preferred)_
4747

48-
```hbs
48+
```handlebars
4949
<body>
5050
<header></header>
5151
<main></main>
@@ -55,7 +55,7 @@ ember feature:disable application-template-wrapper
5555

5656
**Application Template Wrapper Enabled**
5757

58-
```hbs
58+
```handlebars
5959
<body>
6060
<div class="ember-view">
6161
<header role="banner"></header>

guides/v3.13.0/accessibility/application-considerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ember feature:disable application-template-wrapper
4545

4646
**Application Template Wrapper Disabled** _(preferred)_
4747

48-
```hbs
48+
```handlebars
4949
<body>
5050
<header></header>
5151
<main></main>
@@ -55,7 +55,7 @@ ember feature:disable application-template-wrapper
5555

5656
**Application Template Wrapper Enabled**
5757

58-
```hbs
58+
```handlebars
5959
<body>
6060
<div class="ember-view">
6161
<header role="banner"></header>

guides/v3.14.0/accessibility/application-considerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ember feature:disable application-template-wrapper
4545

4646
**Application Template Wrapper Disabled** _(preferred)_
4747

48-
```hbs
48+
```handlebars
4949
<body>
5050
<header></header>
5151
<main></main>
@@ -55,7 +55,7 @@ ember feature:disable application-template-wrapper
5555

5656
**Application Template Wrapper Enabled**
5757

58-
```hbs
58+
```handlebars
5959
<body>
6060
<div class="ember-view">
6161
<header role="banner"></header>

guides/v3.15.0/accessibility/application-considerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ember feature:disable application-template-wrapper
4545

4646
**Application Template Wrapper Disabled** _(preferred)_
4747

48-
```hbs
48+
```handlebars
4949
<body>
5050
<header></header>
5151
<main></main>
@@ -55,7 +55,7 @@ ember feature:disable application-template-wrapper
5555

5656
**Application Template Wrapper Enabled**
5757

58-
```hbs
58+
```handlebars
5959
<body>
6060
<div class="ember-view">
6161
<header role="banner"></header>

guides/v3.15.0/in-depth-topics/patterns-for-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The most frequently used of these is `aria-describedby` and `aria-labelledby`.
117117
118118
In these cases, make sure to declare _all_ of the relevant values in the correct order.
119119
120-
```hbs
120+
```handlebars
121121
<MyInput @input-label="Password" aria-describedby="text-help-0 text-help-1" />
122122
```
123123

guides/v3.16.0/accessibility/application-considerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ember feature:disable application-template-wrapper
4545

4646
**Application Template Wrapper Disabled** _(preferred)_
4747

48-
```hbs
48+
```handlebars
4949
<body>
5050
<header></header>
5151
<main></main>
@@ -55,7 +55,7 @@ ember feature:disable application-template-wrapper
5555

5656
**Application Template Wrapper Enabled**
5757

58-
```hbs
58+
```handlebars
5959
<body>
6060
<div class="ember-view">
6161
<header role="banner"></header>

0 commit comments

Comments
 (0)