I’m building a website, but don’t want to write any HTML (or XML). I was thinking that I could use a nicer markup language instead.
I’ve looked at Markdown and reStructuredText, but they don’t support all the HTML “features” I need. Are there any markup languages that I could use instead of writing a lot of intricate HTML, or do I need to invent something myself? (I’m looking for something available in Python)
EDIT
I want to create arbitrary HTML structures with arbitrary content (nesting, random attributes, etc.). Also a simple readable syntax for tables would be nice.
Under the term niceness I mean: I want it to be more human readable (less crud) and less verbose (less typing). Indenting instead of manually closing tags would be nice.
EDIT2
I wasn’t looking to replace HTML: I just wanted to write something else and then convert to it at runtime.
As far as I know, there aren’t really many alternatives for writing actual website structural markup in other languages than HTML.
The only thing that I’ve heard of is Haml, HTML Abstraction Markup Language. It’s a short and concise markup language which translates directly into HTML markup, so perhaps it’s worth a look?
The only other option I can think of is using some sort of monstrous hybrid of XSLT and HTML, which I don’t think is any good at all except for making your brain hurt.