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