How can I show shade - coded Python fragments in my Tumblr blog site
You can make use of hilite.me
hilite.me transforms your code fragments right into attractive - published HTML layout, conveniently embeddable right into post, e-mails and also websites.
If you have way too many, I would certainly claim go with google-code-prettify.
Examine some examples and also below is the arrangement:
- Download a circulation
- Include the manuscript and also stylesheets in your record (you will certainly require to see to it the css and also js documents get on your web server, and also readjust the courses in the manuscript and also link tag)
<link href="prettify.css" type="text/css" rel="stylesheet"/>
- Add onload = "prettyPrint ()" to your record is body tag.
- Change the stylesheet to get the tinting you favor