0.0.7 • Published 10 years ago

htmlism v0.0.7

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

Htmlism

A little template engine for PogoScript.

Given some HTML, pogo style:

html

    body { class = 'important' }

        p (message)

Running it through htmlism like this:

 htmlism.render '<the-template-above>' { message = 'hello world' }

Renders this string:

<html><body class="important"><p>hello world</p></body></html>

This is just for fun.

Of course, I don't mean for anybody to actually use this!