Sha256: 5a07482e269e00e93b63d93527376da7d504b7fa7d5a41665b3acdb867d40d51
Contents?: true
Size: 844 Bytes
Versions: 13
Compression:
Stored size: 844 Bytes
Contents
{{- /* Usage: `table [args]` `args` are optional and can be one of the following: * class: any class(es) to be added to the `table` - default "" * simplified: show a simplified version in the examples - default `true` */ -}} {{- $class := .Get "class" -}} {{- $simplified := .Get "simplified" | default true -}} {{- $table_attributes := "" -}} {{- $table_content := " ...\n" -}} {{- with $class -}} {{- $table_attributes = printf ` class="%s"` . -}} {{- end -}} {{- if eq $simplified "false" -}} {{- $table_content = partialCached "table-content" . -}} {{- end -}} {{- $table := printf "<table%s>\n%s</table>" $table_attributes $table_content -}} <div class="bd-example"> <table{{ with $class }} class="{{ . }}"{{ end }}> {{ partialCached "table-content" . }} </table> </div> {{- highlight $table "html" "" -}}
Version data entries
13 entries across 13 versions & 1 rubygems