Code Highlighting

Added automatic dynamic code highlighting to my site this weekend. I added github-style code fencing to Statamic's markdown parser, so that you can make blocks starting with ```javascript, for example. Then, a highlighter comes through and highlights words based on the language.

Oh, also made a Statamic language highlighter for it, as seen down the bottom. The colors still need a lot of work.

More by Fred LeBlanc

View profile