Add CSS Classes to Markdown in Hugo
Append a CSS class in curly brackets {.class}
immediately following a heading OR on the next line after a markdown block to apply a specific class attribute without having to actually write in HTML.
Custom classes can only be applied to a full table, and to a list's ul/ol nodes.
Example
## hello {.article-metadata}
- this snippet renders the below: