Merge commit 'b3d87dd0fd746f07f9afa6e6a2969aea41da6a38'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-24 10:23:16 +02:00
101 changed files with 503 additions and 164 deletions

View File

@@ -0,0 +1,28 @@
{{/* prettier-ignore-start */ -}}
{{- /*
Renders an HTML template of Chroma lexers and their aliases.
@example {{< chroma-lexers >}}
*/ -}}
{{/* prettier-ignore-end */ -}}
<div class="overflow-x-auto">
<table>
<thead>
<th>Language</th>
<th>Identifiers</th>
</thead>
<tbody>
{{- range site.Data.docs.chroma.lexers }}
<tr>
<td>{{ .Name }}</td>
<td>
{{- range $k, $_ := .Aliases }}
{{- if $k }},{{ end }}
<code>{{ . }}</code>
{{- end }}
</td>
</tr>
{{- end }}
</tbody>
</table>
</div>