For those who want to combine markdown with CSS class and HTML, I suggest you use markdown only and remember that it goes into the template some-file.html and generates the page. You can add CSS classes at the template level where there is HTML and its natural place of HTML tags and CSS classes combination.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use custom CSS classes when processing markdown content files | 15 | 12153 | December 11, 2024 | |
| Hugo CSS Class | 6 | 1222 | February 6, 2022 | |
| How are you using Hugo with Tailwinds/Tachyons etc? | 4 | 1800 | August 23, 2020 | |
| How would you pass a class to markdown? | 27 | 5034 | January 6, 2026 | |
| Set custom classes within Markdown content | 3 | 10503 | December 28, 2019 |