I had to add the following to my _config.yml to get my GitHub Pages syntax highlighting to work:
markdown: redcarpet
extensions: [fenced_code_blocks]
I don't know why fenced_code_blocks
is required for GitHub Pages, since it's supposed to be enabled by default in Jekyll.