I used to be also trying to find a way to insert software precise metadata to markdown data files while make sure the present viewers like vscode and github page will ignore included metadata.
Now build a server to https://nanaqrng462042.uzblog.net/generate-page-metadata-2024mcbnt-for-dummies-44095470