Skip to main content

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!

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page