Post History
Just because markup preferences are personal, I will mention the markup system I developed for writing my last non-fiction book. It is called SAM (Semantic Authoring Markdown). It is a general purp...
Answer
#4: Attribution notice removed
Source: https://writers.stackexchange.com/a/47953 License name: CC BY-SA 4.0 License URL: https://creativecommons.org/licenses/by-sa/4.0/
#3: Attribution notice added
Source: https://writers.stackexchange.com/a/47953 License name: CC BY-SA 4.0 License URL: https://creativecommons.org/licenses/by-sa/4.0/
#2: Initial revision
Just because markup preferences are personal, I will mention the markup system I developed for writing my last non-fiction book. It is called SAM (Semantic Authoring Markdown). It is a general purpose language, like XML, but with lightweight syntax, like Markdown. This means that while it has standard markup for the common stuff like paragraphs, bold, italic, lists, etc, you can also make up your own tags. You can also validate it using an XML schema. It uses indents for structure (like Python) so if you like indents you may like it, but if you don't like indents you probably won't like SAM. It outputs to XML or HTML (with semantic tagging) and you can process the XML output to produce whatever final format you want. The project is available on GitHub here: [https://github.com/mbakeranalecta/sam](https://github.com/mbakeranalecta/sam)