HTML Abstractions and Pre-processors

What's wrong with HTML? Nothing really, other then EVERYTHING!! The language itself is great, but there are thing that are lacking and pre-processors give us. Things like loops and includes are the easy ones. But these language abstractions also give us less code to write.

We all know things like this in HTML:

<h1>The woods are filled with lions, tigers and bears.</h1>


With haml we can do this:

%h1 The woods are filled with lions, tigers and bears.


And with Jade, we can do this:

h1 The woods are filled with lions, tigers and bears.


Even better, with Markdown we can do this:

# The woods are filled with lions, tigers and bears.


As you can see, just these simple features alone are really awesome!