mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 14:33:17 -10:00
Installing devvm comes before Requirements, and the macOS and Linux requirements tables are tabs with the visitor's system selected, through a new os-tabs shortcode on the install tabs' styles and script. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 lines
321 B
HTML
7 lines
321 B
HTML
{{- /* One tab of os-tabs, its Markdown kept for os-tabs to render: {{< os-tab name="macOS" >}}…{{< /os-tab >}}. */ -}}
|
|
{{- with .Parent -}}
|
|
{{- .Store.Add "tabs" (slice (dict "name" ($.Get "name") "content" (trim $.Inner "\n"))) -}}
|
|
{{- else -}}
|
|
{{- errorf "os-tab: outside os-tabs (%s)" .Position -}}
|
|
{{- end -}}
|