Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit bfc40ce

Browse files
stanlkferdingler
authored andcommitted
Fixed code snippets in expand block
1 parent a08de4d commit bfc40ce

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

workshop/content/javascript/buildpipe/pipeascode/build/_index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pipeline.addStage({
4646

4747
The highlighted code is the new addition:
4848

49-
{{< highlight js "hl_lines=44-68" >}}
49+
```js {hl_lines=["44-68"]}
5050
// lib/pipeline-stack.ts
5151

5252
import * as cdk from '@aws-cdk/core';
@@ -118,7 +118,7 @@ export class PipelineStack extends cdk.Stack {
118118

119119
}
120120
}
121-
{{< / highlight >}}
121+
```
122122
{{% /expand%}}
123123

124124
### Deploy the pipeline

workshop/content/javascript/buildpipe/pipeascode/deploy/_index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pipeline.addStage({
3535

3636
The highlighted code is the new addition:
3737

38-
{{< highlight js "hl_lines=70-89" >}}
38+
```js {hl_lines=["70-89"]}
3939
// lib/pipeline-stack.ts
4040

4141
import * as cdk from '@aws-cdk/core';
@@ -128,7 +128,7 @@ export class PipelineStack extends cdk.Stack {
128128

129129
}
130130
}
131-
{{< / highlight >}}
131+
```
132132
{{% /expand%}}
133133

134134
### Deploy the pipeline

workshop/content/javascript/buildpipe/pipeascode/source/_index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pipeline.addStage({
4141

4242
The highlighted code is the new addition:
4343

44-
{{< highlight js "hl_lines=16-41" >}}
44+
```js {hl_lines=["16-41"]}
4545
// lib/pipeline-stack.ts
4646

4747
import * as cdk from '@aws-cdk/core';
@@ -85,7 +85,7 @@ export class PipelineStack extends cdk.Stack {
8585
});
8686
}
8787
}
88-
{{< / highlight >}}
88+
```
8989
{{% /expand%}}
9090

9191
Since we already have the CodeCommit repository, we don't need to create a new one, we just need to import it using the repository name.

0 commit comments

Comments
 (0)