7 lines
216 B
HTML
7 lines
216 B
HTML
{{ $htmlTable := .Inner | markdownify }}
|
|
{{ $class := .Get 0 }}
|
|
{{ $old := "<table>" }}
|
|
{{ $new := printf "<table class=\"%s\">" $class }}
|
|
{{ $htmlTable := replace $htmlTable $old $new }}
|
|
{{ $htmlTable | safeHTML }}
|