1
votes

How can I create a custom syntax highlighter to use with Jekyll on GitHub Pages?

1

1 Answers

1
votes

Jekyll 3 and above is using rouge (An elegant, extendable code highlighter written in pure Ruby.).
See also "Syntax Highlighting in Jekyll".

In order to add a custom syntax highlighter, you submit a pull request to that project. As an example, consider the PR 650: LiveScript suppport, for issue 309.

Once that PR is merged, you can use it on GitHub pages.