Source

flatland / docs / source / templating / jinja2.rst

Full commit

Jinja2 Templates

Markup Settings

Placeholder... this should be in its own file and shared with a reworked Genshi guide.

auto_name

auto_value

auto_domid

auto_for

auto_tabindex

auto_filter

Markup Generator Usage

The markup generator makes it easy to generate HTML and XML markup tags, and when combined with Flatland elements make it easy to create HTML forms that capture and redisplay input, and communicate validation errors to users right at the fields that generated them.

It's quite simple to output any tag you need with flatland.

Flatland markup generators can be used anywhere you'd use a Unicode string, and are completely at home in template languages such as Jinja2 and Mako.

And some time-saving generation features are available.

There's also no requirement that these tags exist in any current standard:

Generator

Placeholder.

In Progress

Support for Jinja2 and Mako is underway with a feature set similar to the Genshi support.