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 | |
---|---|---|---|---|
Hugo CSS Class | 6 | 866 | February 6, 2022 | |
Use custom CSS classes when processing markdown content files | 13 | 11118 | December 28, 2019 | |
Adding multiple CSS classes to an anchor link | 3 | 1098 | December 27, 2020 | |
How to add CSS "class" attribute to markdown table | 3 | 2522 | June 11, 2023 | |
Proper usage of {{ < css.inline > }} | 3 | 1729 | June 16, 2020 |