Many markdown implementations allow for a leading yaml configuration block like so:
---
title: "My title"
date: 2023-12-29
---
## Heading
Some markdown text
With the vim commentary plugin, I can setup vim to use html comment strings (<!-- %s --> ) for the markdown file, but I can't figure out how to automatically switch to a leading # when commenting in the yaml code block. I tried this pluging but could not get it to work for this scenario, how do I need to change the settings?