I have a Tumblr-managed blog, on which I post a lot of Python-related posts. How do I make the Python snippets in my posts show color-coded?
Tell me more
×
Web Applications Stack Exchange is a question and answer site for
power users of web applications. It's 100% free, no registration required.
|
If you have too many, I would say go for google-code-prettify. All you have to do is to include some javascript, css and then you're done. Check some examples and here is the setup:
|
|||
|
|
You can use hilite.me hilite.me converts your code snippets into pretty-printed HTML format, easily embeddable into blog posts, emails and websites. |
|||
|
|
|
I use Github's gist to do this. Paste in and create the gist and you can then embed them in any web page including tumblr. |
|||||||
|