> 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:
Yes. Check how _wrap_tablelinenos and friends in pygments/formatters/html.py are implemented. Tim -- 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.
