customize

This commit is contained in:
ThePetrovich 2026-06-16 22:46:11 +09:00
commit eec942e2b4
682 changed files with 153415 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{{- /*
Usage: `bs-table "class class-foo"`, where class can be any string
*/ -}}
{{- $css_class := .Get 0 | default "table" -}}
{{- $html_table := .Inner | markdownify -}}
{{- $html_table = replace $html_table "<table>" (printf `<div class="table-responsive"><table class="%s">` $css_class) -}}
{{- $html_table = replace $html_table "</table>" "</table></div>" -}}
{{- $html_table | safeHTML -}}