Skip to content

Commit 2976fab

Browse files
committed
Remove the md shortcode
1 parent 3644c90 commit 2976fab

File tree

4 files changed

+18
-35
lines changed
  • content/blog
    • aws-lambda-container-support
    • get-up-and-running-with-azure-synapse-and-pulumi
    • introducing-kube2pulumi
  • layouts/shortcodes

4 files changed

+18
-35
lines changed

content/blog/aws-lambda-container-support/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010
- aws
1111
- containers
1212
- serverless
13-
13+
1414
---
1515

1616
When AWS Lambda launched in 2014, it pioneered the concept of Function-as-a-Service. Developers could write a function in one of the supported programming languages, upload it to AWS, and Lambda executes the function on every invocation.
@@ -22,7 +22,7 @@ Today, AWS announced that AWS Lambda now supports packaging serverless functions
2222
<!--more-->
2323

2424
<div class="bg-purple-100 text-sm rounded-lg py-1 px-4">
25-
{{% md %}}
25+
2626
**AWS Lambda Containers QuickStart**
2727

2828
Ready to get up and running quickly right away?
@@ -33,7 +33,7 @@ Ready to get up and running quickly right away?
3333
4. Test with `$ curl $(pulumi stack output invokeUrl)`.
3434

3535
For additional information on how Lambda Containers work, and more advanced options, please read on.
36-
{{% /md %}}
36+
3737
</div>
3838

3939
## Why Use Container Images for AWS Lambda?

content/blog/get-up-and-running-with-azure-synapse-and-pulumi/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The alternative is to use an infrastructure as code tool to automate building an
2020
<!--more-->
2121

2222
<div class="bg-purple-100 text-sm rounded-lg py-1 px-4">
23-
{{% md %}}
23+
2424
**Azure Synapse Quick Start**
2525

2626
Ready to get up and running quickly right away?
@@ -30,7 +30,7 @@ Ready to get up and running quickly right away?
3030
3. Go to `https://web.azuresynapse.net` and sign in to your new workspace.
3131

3232
For additional information on how provisioning Azure Synapse with infrastructure as code, please read on.
33-
{{% /md %}}
33+
3434
</div>
3535

3636
## Azure Synapse Components

content/blog/introducing-kube2pulumi/index.md

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,15 @@ metadata:
4343

4444
{{< chooser language "typescript,python,csharp,go" >}}
4545

46-
{{< choosable language typescript >}}
47-
{{% md %}}
46+
{{% choosable language typescript %}}
47+
4848
Here, we choose TypeScript and select our YAML manifest.
4949

5050
```sh
5151
$ kube2pulumi typescript -f namespace.yaml
5252
Conversion successful! Generated File: namespace.ts
5353
```
5454

55-
{{% /md %}}
56-
5755
```typescript
5856
import * as pulumi from "@pulumi/pulumi";
5957
import * as kubernetes from "@pulumi/kubernetes";
@@ -67,19 +65,17 @@ const fooNamespace = new kubernetes.core.v1.Namespace("fooNamespace", {
6765
});
6866
```
6967

70-
{{< /choosable >}}
68+
{{% /choosable %}}
69+
70+
{{% choosable language python %}}
7171

72-
{{< choosable language python >}}
73-
{{% md %}}
7472
Here, we choose Python and select our YAML manifest.
7573

7674
```sh
7775
$ kube2pulumi python -f namespace.yaml
7876
Conversion successful! Generated File: `__main__.py`
7977
```
8078

81-
{{% /md %}}
82-
8379
```python
8480
import pulumi
8581
import pulumi_kubernetes as kubernetes
@@ -92,19 +88,17 @@ foo_namespace = kubernetes.core.v1.Namespace("fooNamespace",
9288
})
9389
```
9490

95-
{{< /choosable >}}
91+
{{% /choosable %}}
92+
93+
{{% choosable language csharp %}}
9694

97-
{{< choosable language csharp >}}
98-
{{% md %}}
9995
Here, we choose C# and select our YAML manifest.
10096

10197
```sh
10298
$ kube2pulumi csharp -f namespace.yaml
10399
Conversion successful! Generated File: Program.cs
104100
```
105101

106-
{{% /md %}}
107-
108102
```csharp
109103
using Pulumi;
110104
using Kubernetes = Pulumi.Kubernetes;
@@ -127,19 +121,17 @@ class MyStack : Stack
127121
}
128122
```
129123

130-
{{< /choosable >}}
124+
{{% /choosable %}}
125+
126+
{{% choosable language go %}}
131127

132-
{{< choosable language go >}}
133-
{{% md %}}
134128
Here, we choose Go and select our YAML manifest.
135129

136130
```sh
137131
$ kube2pulumi go -f namespace.yaml
138132
Conversion successful! Generated File: main.go
139133
```
140134

141-
{{% /md %}}
142-
143135
```go
144136
package main
145137

@@ -166,9 +158,9 @@ func main() {
166158
}
167159
```
168160

169-
{{< /choosable >}}
161+
{{% /choosable %}}
170162

171-
{{< /chooser >}}
163+
{{% /chooser %}}
172164

173165
## Multi-resource Example
174166

layouts/shortcodes/md.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)