When my Markdown files are rendered to HTML, I’d like to turn each # Section into a separate <section> tag, and insert some other elements around there.
I understand I could write shortcodes to help with this, like {{% start_section "Title" %}} and {{% end_section %}} though I would prefer to continue writing standard Markdown.
Hugo offers hooks for customizing some Markdown behaviors, like how image are converted to HTML. And I can write custom processors for CSS files and so on. Is there something I could do to post-process generated HTML?