Table Shortcode for Hugo

October 25, 2021

I just posted hugo-shortcode-table, a shortcode for Hugo which allows you to generate CSS-only (no inline style attributes) tables.


  • Much more powerful than built-in Markdown table syntax.
  • Emits CSS classes for alignment rather than inline style attributes (no more style-src unsafe-inline).
  • Table can be defined as front matter or site data.
  • Column tooltips.
  • Cell-specific overrides (alignment, tooltip, etc).
  • HTML and Markdown markup support.
  • Easy to configure emitted CSS classes for a variety of frameworks, including Bulma and Bootstrap.