Skip to main content

Plim is a Python port of Ruby's Slim template language built on top of Mako Templates

Project description

Plim

https://pypip.in/v/Plim/badge.png https://pypip.in/d/Plim/badge.png

Plim is a Python port of Ruby’s Slim template language built on top of Mako Templates. It uses Mako’s preprocessor feature to translate its syntax into a valid HTML/Mako markup.

For more information visit the Documentation Page.

Changelog

Version 0.8

  • 0.8.5

  • 0.8.4

    • Hotfix: updated links to github.

  • 0.8.3

    • Hotfix: prevent lexer from parsing embedded markup inside style and script blocks.

  • 0.8.2

    • Feature: added support for Embedded Markup.

    • Feature: plimc utility is now able to output plain HTML.

  • 0.8.1

  • 0.8.0

    • Feature: added support for dynamic attributes unpacker (an equivalent to Slim’s splat attributes).

Version 0.7

  • 0.7.14

    • Hotfix: fixed bug with unicode handling.

  • 0.7.13

    • Hotfix: fixed bug with static unicode attributes.

  • 0.7.12

    • Unnecessary newline characters at the end of literal blocks have been removed.

    • Added the command-line tool plimc.

  • 0.7.11

    • Fixed bug that had to do with incorrect parsing of multi-line dynamic class attributes.

    • Fixed bug that had to do with passing incorrect data to plim parser in babel adapter.

  • 0.7.10 Fixed bug with unicode error in python block. Thanks to sqrabs@github!

  • 0.7.9 Added babel message extraction plugin.

  • 0.7.8 Expanded range of possible numeric values that don’t require double-quoting.

  • 0.7.7

    • Fixed bug with linebreaks without trailing newline character.

    • Fixed bug with missing explicit whitespace after =, and ==, line indicators.

  • 0.7.6 Fixed bug with incorrect parsing of static boolean attributes.

  • 0.7.5 Fixed bug with comment and content blocks separated by empty lines.

  • 0.7.4 Added -stylus extension.

  • 0.7.3 Fix bug with literal one-liners.

  • 0.7.1 Fixed installation error caused by missing README.rst.

  • 0.7.0 Initial public release.

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

Plim-0.8.5.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

Plim-0.8.5-py2.7.egg (37.3 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