Syntax Highlighting
问题 I'm looking for a general purpose syntax highlighting library, to output to html. It's for use within a ruby app, so a ruby library would be good, but an excellent utility which can be piped in and out of would do Also needs to guess the appropriate language to highlightsy by itself 回答1: HTML/CSS/JavaScript based syntax highlighter solutions are the most popular and work well with different server technologies including Ruby. SyntaxHighlighter (RECOMMENDED) is here to help a developer/coder