Jason N. Gaylord
Jason N. Gaylord

Reputation: 8324

Rouge Syntax Highlighting in GitHub Pages

I have been using Rouge and Kramdown to properly format syntax since I've been using Jekyll. I haven't looked in awhile, but recently noticed that the syntax highlighting doesn't appear to be working properly. I noticed that the change broke when GitHub pages started supporting Jekyll 3.9 (was 3.8.5 for the longest time) and the latest version of Rouge. Anyone else find a solution to this? It appears to be broken on many sites that use GitHub Pages and I cannot find a site where it's working.

Here is a URL that does not work: https://www.jasongaylord.com/blog/embed-javascript-in-custom-aspnet-server-controls

Upvotes: 1

Views: 529

Answers (1)

William Harrison
William Harrison

Reputation: 21

The URL in question that is supposed to show syntax highlighting not working, does in fact appear to have syntax highlighting working correctly.

Section of your site with syntax highlighting, highlighted by Chrome dev tools. Shows syntax highlighting CSS class provided by Rouge and data-lang attribute

Upvotes: 0

Related Questions