mirror of https://github.com/pulumi/pulumi.git
21 lines
576 B
Cheetah
21 lines
576 B
Cheetah
{{ define "examples" -}}
|
|
{{ htmlSafe "<div><pulumi-examples>" }}
|
|
|
|
<h2 id="example-usage">Example Usage</h2>
|
|
|
|
{{ htmlSafe "<div><pulumi-chooser type=\"language\" options=\"typescript,python,go,csharp,java,yaml\"></pulumi-chooser></div>" }}
|
|
|
|
{{ range . }}
|
|
{{ .Title }}
|
|
|
|
{{ range $key, $val := .Snippets }}
|
|
{{ htmlSafe "<div>" }}
|
|
{{ htmlSafe "<pulumi-choosable type=\"language\" values=\"" }}{{ $key }}{{ htmlSafe "\">" }}
|
|
{{ markdownify $val }}
|
|
{{ htmlSafe "</pulumi-choosable>" }}
|
|
{{ htmlSafe "</div>" }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ htmlSafe "</pulumi-examples></div>" }}
|
|
{{ end }}
|