News for hackers. Stuff that matters.
Re:Beautiful mini language for outputing HTML in Python by showell on Tuesday December 29, 2009 @01:19PM (#1020941)
SHPAML replaces angle brackets and close tags with space-based indentation and pipes. The CSS sugar for #id and .classname is completely optional, and obviously if you know CSS, then the syntax should be familiar.

I agree that there are plenty of other useful ways to represent XML/HTML.

SHPAML does require or even support tabs. The "|" is not for line continuation; it is to separate markup from content.

There are no comments on this comment yet.