Something that really bothered me about XHTML and XML in general is why it is necessary to indicate which tag you are closing. Things like <b>bold <i>bold and italic</b> just italic</i>, in any case, are not legal. So, I think using {}makes more sense. Anyway, this is what I came up with:
doctype;
html
{
head
{
title "my webpage"
javascript '''
'''
}
body
{
table {
tr {
td "cell 1"
td "cell 2"
td @var|filter1|filter2:arg
}
}
p "variable @var in a string"
p "variable @{var|withfilter}"
input(type=password, value=secret);
br;
p { "strings are" "automatically" "concatenated together" @andvars "too" }
}
}
, , (, td "cell 1" td ). , , , - . , Django's. , . , , , . , @ . $ PHP, jQuery , JS (, , !)
. HTML- , . "" , HTML-.
, ...
: .