Contents tagged with JavaScript

  • Creating Custom Brush for SyntaxHighlighter

    ASP.NET, MVC, Syntax Highlighter, Custom Brush, Programming, JavaScript

    I wanted to have nicely formatted blocks of code for my site blog since a lot of the articles will be code or development related.  I found a really nice JavaScript plugin called SyntaxHighlighter by Alex Gorbatchev to make this easier.  It uses "brush" files to set up the language features, such as how comments start and end, what keywords are available to that language, how strings are formatted, and much more.  Each brush uses a lot of regular expressions to set up the …

    Read more 

  • 1