update tables & some fix
This commit is contained in:
6
themes/papercut/layouts/shortcodes/table.html
Normal file
6
themes/papercut/layouts/shortcodes/table.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{ $htmlTable := .Inner | markdownify }}
|
||||
{{ $class := .Get 0 }}
|
||||
{{ $old := "<table>" }}
|
||||
{{ $new := printf "<table class=\"%s\">" $class }}
|
||||
{{ $htmlTable := replace $htmlTable $old $new }}
|
||||
{{ $htmlTable | safeHTML }}
|
Reference in New Issue
Block a user