Feel free to check out MyST Markdown, which very much aims to specify "structured Markdown": https://mystmd.org