We found Markdown with directives[1] worked well enough for our use case.
[1]: https://talk.commonmark.org/t/generic-directives-plugins-syn...