Hey folks, I am trying to add some classes to headers but I can not find any information about it
For example:
## My Title
I want to output
<h2 class="my-custom-class">My Title</h2>
Hey folks, I am trying to add some classes to headers but I can not find any information about it
For example:
## My Title
I want to output
<h2 class="my-custom-class">My Title</h2>
Welcome Yordis!
I don’t think this feature is available yet. There’s still an open issue about render hooks for headers:
A very simple shortcode would do what you want.
This feature has been added by PR #7133. You can read more about that feature in Hugo’s documentation.