Hugo Howto
How to show Table of contents in posts
Write in the front matter of your post:
disableToc= “false”
and in /layouts/_default/single.html
{{ .TableOfContents }}
in the desired place
How to format and style tables
Table tablesgenerator
https://www.tablesgenerator.com/html_tables
For me the best is to generate HTML table with css styling because Markdown tables does not work in Hugo (Ido not now why). Only have to change “border-color:black” ith “border-color:inherit” became otherwise borders become black but my theme is dark.