This is open source under the MIT License. You can obtain the source code from GitHub.
SyntaxBox (.Net FireBall port) further bastardized by myself.