Introducing our all new code syntax highlighter
Chapter24 has had syntax highlighting for code since day 1. However it was flaky at best; it would try to guess the programming language of a snippet and almost always get it wrong. There was no way for a user to manually specify it either.
No longer!!
We've added a code block element that lets you specify the programming language right in your text editor. It'll then apply GitHub flavoured syntax highlighting to the snippet before it's rendered for viewing!
No longer!!
We've added a code block element that lets you specify the programming language right in your text editor. It'll then apply GitHub flavoured syntax highlighting to the snippet before it's rendered for viewing!
And this is what it looks like to a reader:
def drive_delorean puts "I'm sending…