Skip to content

Commit 4d26055

Browse files
committed
Change name to scrollable-code
1 parent 1483f07 commit 4d26055

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

content/operate/rc/subscriptions/bring-your-own-cloud/iam-resources/aws-console.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Follow the steps to [create an IAM policy using the JSON editor](https://docs.aw
2828

2929
- In **Specify permissions**, select **JSON**, and then enter the contents of the RedisLabsInstanceRolePolicy.json policy file:
3030

31-
{{< line-limit >}}
31+
{{< scrollable-code >}}
3232
```js
3333
{
3434
"Version": "2012-10-17",
@@ -105,7 +105,7 @@ Follow the steps to [create an IAM policy using the JSON editor](https://docs.aw
105105
]
106106
}
107107
```
108-
{{< /line-limit >}}
108+
{{< /scrollable-code >}}
109109

110110
- In **Review and Create**, enter `RedisLabsInstanceRolePolicy` in the **Policy name** field.
111111

@@ -134,7 +134,7 @@ Follow the steps to [create an IAM policy using the JSON editor](https://docs.aw
134134

135135
- In **Specify permissions**, select **JSON**, and then enter the contents of the RedisLabsIAMUserRestrictedPolicy.json policy file:
136136

137-
{{< line-limit >}}
137+
{{< scrollable-code >}}
138138
```json
139139
{
140140
"Version": "2012-10-17",
@@ -386,7 +386,7 @@ Follow the steps to [create an IAM policy using the JSON editor](https://docs.aw
386386
]
387387
}
388388
```
389-
{{< /line-limit >}}
389+
{{< /scrollable-code >}}
390390

391391
- In **Review and Create**, enter `RedislabsIAMUserRestrictedPolicy` in the **Policy name** field.
392392

content/operate/rc/subscriptions/bring-your-own-cloud/iam-resources/terraform.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ The following example uses the `terraform-aws-Redislabs-Cloud-Account-IAM-Resour
2525

2626
1. Copy the following code into a file called `main.tf`.
2727

28-
{{< line-limit >}}
28+
{{< scrollable-code >}}
2929
{{% code-include file="rv/terraformIAMTemplate.json" language="js" %}}
30-
{{< /line-limit >}}
30+
{{< /scrollable-code >}}
3131

3232
Replace the following values in the `main.tf` file:
3333

layouts/shortcodes/line-limit.html renamed to layouts/shortcodes/scrollable-code.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{{/*
2-
Line-limit shortcode
2+
Scrollable code shortcode
33
Limits the number of visible lines and adds scrolling for the rest
44

55
Usage:
6-
{{< line-limit lines="10" >}}
6+
{{< scrollable-code lines="10" >}}
77
Content with many lines here...
8-
{{< /line-limit >}}
8+
{{< /scrollable-code >}}
99

10-
Ideally used for just code blocks, but could be used for any content in theory.
10+
Ideally used for just code blocks.
1111
*/}}
1212

1313
{{ $lines := .Get "lines" | default "25" }}

0 commit comments

Comments
 (0)