{{- /*
  Usage: `table "class"`,
  where class can be anything
*/ -}}

{{ $htmlTable := .Inner | markdownify }}
{{ $css_class := .Get 0 | default "table" }}
{{ $old := "<table>" }}
{{ $new := printf "<table class=\"%s\">" $css_class }}
{{ $htmlTable := replace $htmlTable $old $new }}
{{ $htmlTable | safeHTML }}

Create a new table shortcode so we can easily add Bootstrap table classes to Markdown tables
 Create a new table shortcode so we can easily add Bootstrap table classes to Markdown tables

 BS5 commits: 85ac2fc35e60c430d5ba0342e584ba0a9b5b916e
