On 9 May 2013 05:19, "dabaichi" <valben...@outlook.com> wrote:
>
> And hereis the output file:

That's not the output file. That is just an HTML fragment to put on your
page. A full HTML file will need more things, which is the reason why you
don't see color output.

> I want to know why output html file with no color ?

Because there is no CSS. The output  has a lot of <span> tags with classes.
You are supposed to use a CSS file along with it.

So, first put that output into a complete HTML document (with a head, a
body...) And in that document add or link to your CSS file with the color
information. I never used pygments but there may be some readily available.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to