News for hackers. Stuff that matters.
Re:PrismJS by drivebyacct2 on Tuesday July 31, 2012 @03:37AM (#4316139)
Can anyone compare this to CodeMirror which seems to include this functionality and much, much more?
Re:PrismJS by lukeholder on Tuesday July 31, 2012 @03:44AM (#4316160)
CodeMirror is a "full" syntax highlighted code editor.

This is just a syntax highlighter for embedding code examples in your site/blog.

Re:PrismJS by drivebyacct2 on Tuesday July 31, 2012 @05:00AM (#4316336)
Right, but CodeMirror can be used as a simply syntax highlighter as well.
Re:PrismJS by ajankovic on Tuesday July 31, 2012 @06:02AM (#4316473)
This one is around 2k in size, therefor "lightweight"