Yeah, but as I understand it, the thought behind markdown/AsciiDoc is: Nearly nobody writes books in XML. To be able to automatically process something, it needs to be in a form, that is automatically processable. And on the beginning of the chain, there is just an author who writes. So to be able to automatically process what the writer writes, you need the author to tell the program, what he means. So you need some form of semantic styles. So AsciiDoc is nothing more, than such a semantic language. And you will need something like that. You need to ensure, that an author uses semantics. Of course, you could requiere each author to define his own semantics and tell your programm, how it should handle it. But it is more easy, to provide the basic semantics.
|