I was also trying to find a way to add software precise metadata to markdown files whilst ensure the existing viewers which include vscode and github page will ignore extra metadata.
The generateMetadata() function is https://cecilymlpf030516.pages10.com/not-known-facts-about-generate-page-metadata-2024mcbnt-65478828