Adam's Lair Forum

Syntax Highlighting
Page 1 of 1

Author:  Adam [ 2015/03/26, 12:49 ]
Post subject:  Syntax Highlighting

There is now a (very simple) form of syntax highlighting in code blocks using highlight.js. Let me know if you have any issues with this ^^

using System;
using System.Collections.Generic;
using System.Text;

namespace SyntaxHighlighting
    class Program
        static void Main(string[] args)
            Console.WriteLine("Hello, colorful world!");

While at it, I also changed the style of code and quote boxes to be a little more concise.

Author:  Adam [ 2015/03/26, 15:06 ]
Post subject:  Re: Syntax Highlighting

Another quick change: Now using the popular Source Code Pro font for code listings as a primary Font.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group