Fix: remove submodule

This commit is contained in:
psychhim
2025-11-11 18:07:05 +05:30
parent ea7284b910
commit 27a08b46f6
111 changed files with 4844 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
<h{{ .Level }} class="heading" id="{{ .Anchor }}">
{{ .Text | safeHTML }}<span class="heading__anchor"> <a href="#{{ .Anchor }}">#</a></span>
</h{{ .Level }}>

View File

@@ -0,0 +1,41 @@
{{- /* Wrapper is used to add horizontal scrollbar for table */ -}}
<div class="table-wrapper">
{{- /* Default table code */ -}}
<table
{{- range $k, $v := .Attributes }}
{{- if $v }}
{{- printf " %s=%q" $k $v | safeHTMLAttr }}
{{- end }}
{{- end }}>
<thead>
{{- range .THead }}
<tr>
{{- range . }}
<th
{{- with .Alignment }}
{{- printf " style=%q" (printf "text-align: %s" .) | safeHTMLAttr }}
{{- end -}}
>
{{- .Text -}}
</th>
{{- end }}
</tr>
{{- end }}
</thead>
<tbody>
{{- range .TBody }}
<tr>
{{- range . }}
<td
{{- with .Alignment }}
{{- printf " style=%q" (printf "text-align: %s" .) | safeHTMLAttr }}
{{- end -}}
>
{{- .Text -}}
</td>
{{- end }}
</tr>
{{- end }}
</tbody>
</table>
</div>