Well, asciidoc - a markup language supports includes, so the "markup languages" analogy doesn't hold.
https://docs.asciidoctor.org/asciidoc/latest/directives/incl...