Search code examples
wordpresssyntax-highlightingmarkup

Automatic code markup


Is there a tool (similar to the markup here on StackOverflow) that transforms code (based on syntax and keywords) into markup'ed code? In other words, take a blot of code and add the appropriate tags and styles to have it show all pretty in colour (and indented maybe)?

Specifically, I'd like something that's language specific (or language aware) for at least C# and SQL. It can be a plugin to WordPress or just a formatter that I could post my code into and then copy paste to WordPress (or elsewhere. Portability is nice).


Solution

  • I, personally, like this script: http://softwaremaniacs.org/soft/highlight/en/