Create a backend which writes doctools markup. This backend would in effect be a pretty printer of doctools formatted input.