ArticleML: A Markup Language for Articles (with Math) On the Web
ArticleML is a human-writeable XML document format for writing articles on the internet, especially if they include math. It currently includes a citation manager ala BibTex, inline citations, references between different sections, and formatting math in both display and inline format. The program converts ArticleML to HTML for publishing to the web.
Check out its Github at: https://github.com/flynnzac/ArticleML/.
And its documentation at: https://zflynn.com/ArticleML/documentation.html.