Hi all,

I knew pygments has a great formatter named HtmlFormatter, but it
renders codes in a table with one tr.
My question is, is there a way to write a formatter to render code
like this:

<table>
    <tr>
        <td>1</td>
        <td><span class="xxx">import</span> <span class="yyy">sys</
span></td>
    </tr>
    <tr>
        <td>2</td>
        <td><span class="zzz">print</span> <span class="uuu">"hello,
world!"</span></td>
    </tr>
</table>

Is there any possibilities to do this ?

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to