Ask HN: Markdown-like structured document format
I'm writing some legal documents, which I want to post in GitHub so that people can track history and so on. The issue I'm having with Markdown is that it doesn't support numbered lists with letters, which are typical for legal documents. Also, it doesn't support references to other pieces of the document. If I insert an article, I need to change all other article numbers and references manually. I looked into Legal Markdown [0], which is an extension, and it addresses some of the issues but leaves others unaddressed. Any suggestions?
[0] https://lmd.io/