I don&#x27;t know of any light-weight markup language that are intentionally designed to be context-free and unambiguous. I wish I did.<p>I&#x27;m not sure if any exist, although some people have tried to write grammars for existing markup languages.<p><a href="http:&#x2F;&#x2F;roopc.net&#x2F;posts&#x2F;2014&#x2F;markdown-cfg&#x2F;" rel="nofollow">http:&#x2F;&#x2F;roopc.net&#x2F;posts&#x2F;2014&#x2F;markdown-cfg&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;asciidoctor&#x2F;asciidoc-grammar-prototype" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;asciidoctor&#x2F;asciidoc-grammar-prototype</a><p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;6178546&#x2F;antlr-grammar-for-restructuredtext-rule-priorities" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;6178546&#x2F;antlr-grammar-fo...</a><p><a href="https:&#x2F;&#x2F;www.mediawiki.org&#x2F;wiki&#x2F;Markup_spec" rel="nofollow">https:&#x2F;&#x2F;www.mediawiki.org&#x2F;wiki&#x2F;Markup_spec</a>