A python script to convert html written with un-closed tags (like Hamlet templates) to html with closed tags.
Project description
===============================================
Dangler - A Python script to expand hamlet templates file (Html without closing tags) into html
===============================================
The problem -
=============
Writing HTML can be a pain if you are doing it by hand. Things can be considerable improved if
you can write Html in python style, using indentation instead closing tags to delimit blocks
This is something that is shamelessly copied from Haskell's hamlet templates.
Usage: dangler path/to/file/with/unclosed/tags.html
This will print out html with tags closed.
Have fun!
Dangler - A Python script to expand hamlet templates file (Html without closing tags) into html
===============================================
The problem -
=============
Writing HTML can be a pain if you are doing it by hand. Things can be considerable improved if
you can write Html in python style, using indentation instead closing tags to delimit blocks
This is something that is shamelessly copied from Haskell's hamlet templates.
Usage: dangler path/to/file/with/unclosed/tags.html
This will print out html with tags closed.
Have fun!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Dangler-0.1.zip
(5.4 kB
view hashes)