>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> albatross.Template(ctx, '', ''' ... ... 1. ... 2. ... ... ''').to_html(ctx) >>> ctx.flush_content() >>> albatross.Template(ctx, '', ''' ... ... spam ... ''').to_html(ctx) >>> ctx.flush_content() 1. spam 2. spam