Hi,
I posted some Python code on my blog at blogspot http://pyarticles.blogspot.com/ . However, it not display my code correctly. How can I do to solve this problem ?
Thanks :)
Eiwot
Hi,
I posted some Python code on my blog at blogspot http://pyarticles.blogspot.com/ . However, it not display my code correctly. How can I do to solve this problem ?
Thanks :)
Eiwot
Use <pre> tag.
Hi,
I posted some Python code on my blog at blogspot http://pyarticles.blogspot.com/ . However, it not display my code correctly. How can I do to solve this problem ?Thanks :)
Eiwot
Look http://interestingwebs.blogspot.com/2008/12/easy-way-to-put-code-snippets-in-blog.html for help
You can also use a syntax highlighter like Pygments. In the following article I demonstrate the usage of this great tool : http://gissolved.blogspot.com/2009/05/python-toolbox-2-pygments.html
Succes,
Samuel
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.