8 lines
347 B
HTML
8 lines
347 B
HTML
{{ $htmlTable := .Inner | markdownify -}}
|
|
{{ $class := .Get 0 -}}
|
|
{{ $old := "<table>" -}}
|
|
{{ $new := printf "<table class=\"%s\">" $class -}}
|
|
{{ $htmlTable := replace $htmlTable $old $new -}}
|
|
{{ "<!-- [html-validate-disable-block wcag/h63: markdown does not generate tables with scope attribute] -->" | safeHTML }}
|
|
{{ $htmlTable | safeHTML }}
|