New Code Posting Plugin

Edit – 6 April 2015 I switched to WP-GeSHi-Highlight

Edit – CodeColorer hasn’t been updated in forever. So I’ve switched to Crayon Syntax Highlighter.

I’m trying out the CodeColorer plugin – to add color to my code snippets. I like it so far, a little python example is below.

def find_files(self,topdir):
        file_list = []
        for root, dirs, files in os.walk(topdir):
            for f in files:
                if f[-3:] == 'pdf' and f.find("Journal") == -1:
                    fulp = os.path.join(root,f)
        return file_list

Leave a Reply

Your email address will not be published. Required fields are marked *