Latest recipes tagged "highlighting"http://code.activestate.com/recipes/tags/highlighting/new/2014-06-03T17:54:33-07:00ActiveState Code RecipesColorize Python -- Sourcecode Syntax Highlighting (Python) 2012-07-21T02:46:37-07:00Raymond Hettingerhttp://code.activestate.com/recipes/users/178123/http://code.activestate.com/recipes/578178-colorize-python-sourcecode-syntax-highlighting/ <p style="color: grey"> Python recipe 578178 by <a href="/recipes/users/178123/">Raymond Hettinger</a> (<a href="/recipes/tags/highlighting/">highlighting</a>, <a href="/recipes/tags/syntax/">syntax</a>). Revision 20. </p> <p>Generates colorized HTML, ANSI escaped text, or a LaTeX document from Python source code. Useful for publishing or viewing your code in a more readable way.</p> Coloured / highlighted version of string (Python) 2014-06-03T17:54:33-07:00Giampaolo RodolĂ http://code.activestate.com/recipes/users/4178764/http://code.activestate.com/recipes/577818-coloured-highlighted-version-of-string/ <p style="color: grey"> Python recipe 577818 by <a href="/recipes/users/4178764/">Giampaolo RodolĂ </a> (<a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/debugging/">debugging</a>, <a href="/recipes/tags/highlighting/">highlighting</a>, <a href="/recipes/tags/shell/">shell</a>). Revision 3. </p> <p>Ok, this is really simple but I think it worths a recipe as it's one of those things I always use in shell scripts and for debugging in general.</p> Python Syntax Highlighting in OpenOffice Impress (Python) 2009-06-04T12:24:04-07:00Bryan Colehttp://code.activestate.com/recipes/users/4170610/http://code.activestate.com/recipes/576796-python-syntax-highlighting-in-openoffice-impress/ <p style="color: grey"> Python recipe 576796 by <a href="/recipes/users/4170610/">Bryan Cole</a> (<a href="/recipes/tags/highlighting/">highlighting</a>, <a href="/recipes/tags/impress/">impress</a>, <a href="/recipes/tags/openoffice/">openoffice</a>, <a href="/recipes/tags/syntax/">syntax</a>). </p> <p>Applies python syntax highlighting to all the TextShapes (i.e. text boxes) in an OpenOffice document with the "code" graphic style applied. Typical usage is for highlighting code snippets in an Impress presentation. I have the "HighlightPython" function assigned to a menu item in my Tools menu for easy access. </p>