* Add Prettier set-up (no formatting in this commit). * Manual fixes for Prettier issues. * Run Prettier fix on non-markdown files. * Incorporate Prettier PR feedback - update commands, re-apply new yaml styles, add editor config. * Remove deprecated config item. * Add dependency on prettier-plugin-go-template. * reconcile changed file with prettier formatting. * Add git blame ignore revs file to include Prettier formatting commit. * Fix format issue with merge conflict.
36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
<div class="code-tabbed code-mode-{{ default "light" .mode }} {{ if .chrome }}code-chrome no-copy{{ end }}">
|
|
{{ if .chrome }}
|
|
{{ partial "chrome.html" . }}
|
|
{{ end }}
|
|
|
|
{{ if .tabs }}
|
|
<ul class="code-tabbed-tabs">
|
|
{{ $keys := slice }}
|
|
{{ range $i, $tab := .tabs }}
|
|
{{ $keys = $keys | append $tab.language }}
|
|
{{ end }}
|
|
|
|
{{ range $tab := .tabs }}
|
|
<li class="code-tabbed-tab">
|
|
<span class="code-tabbed-tab-label">{{ $tab.title }}</span>
|
|
<div class="code-tabbed-tab-indicator"></div>
|
|
</li>
|
|
{{ end }}
|
|
|
|
|
|
<li class="code-tabbed-tab"></li>
|
|
</ul>
|
|
{{ end }}
|
|
|
|
|
|
<div class="code-tabbed-content">
|
|
{{ range $tab := .tabs }}
|
|
<div class="code-tabbed-content-item">
|
|
{{ highlight .code $tab.language (default "" .opts) }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<div class="code-tabbed-status"></div>
|
|
</div>
|