See http://www.turbogears.org/ Markup can be used for templating in !TurboGears by means of our [source:/trunk/markup/plugin.py plugin] for the [http://www.turbogears.org/docs/plugins/template.html template engine plugin API]. We have an example TG application that does just that [source:/trunk/examples/turbogears/ here].