This is followup of this thread.
On the other hand, it seems clear that Markdown (in any of the common varieties) is not extensible enough. So, it does seem like some change is needed.
Asciidoctor might be the best choice to enhance Rust’s markup:
Asciidoctor is Markdown compatible and supports its basic syntax.
You can write your scientific articles and thesis with Asciidoctor: (example Enhance Embedded System Security With Rust
The Asciidoctor tool-chain can render “.pdf”, “html5”, ebook, slides, … with or without docbook.
With Asciidoctor migration from Markup is made fairly easy as it supports basic Markdown syntax. Nevertheless for more advanced features you will find more differences. (If necessary, it is possible to extend Markdown support using an inline macro extension).
Most important, people can just continue typing the way they are used to. But it is much more: Asciidoc is another way of expressing docbook semantics making it an as powerful as LaTeX.
AsciiDoctors License is MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc