Support titled codeblocks
I would like to use titles for blocks of code. I previously did such template in the mediawiki, but now as articles were transferred to hugo, we need to bring this functionality here as well.
I have found the code here: https://discourse.gohugo.io/t/is-there-a-good-reason-not-to-have-a-mechanism-facilitating-a-title-for-code-blocks/40554/3
Here is how it looks:
Before | After |
---|---|
![]() |
![]() |