Skip to content

Apply syntax highlighting to fenced code blocks client-side

Robert Speicher requested to merge rs-remove-user-color-scheme-class into master

Instead of applying the syntax highlighting scheme class to these blocks server-side, we use Javascript and Gon to apply the user's color scheme (or the default) client-side.

This will make it easier to cache these blocks in the future because they're no longer state-dependent.

Merge request reports