docs.scala-lang icon indicating copy to clipboard operation
docs.scala-lang copied to clipboard

Syntax highlighting problem for fenced code blocks

Open julienrf opened this issue 6 years ago • 3 comments

As shown here: https://github.com/scala/docs.scala-lang/pull/1469#pullrequestreview-295418228

julienrf avatar Oct 07 '19 07:10 julienrf

someone want to look into whether this might be an easy adjustment in whatever Jekyll thing is doing the highlighting?

SethTisue avatar Jan 28 '20 01:01 SethTisue

It is called Rouge, and there is a lexer for Scala here https://github.com/rouge-ruby/rouge/blob/master/lib/rouge/lexers/scala.rb

I believe Rouge was recently updated when Jekyll was updated in #1337.

ashawley avatar Jan 28 '20 02:01 ashawley

:notes: Don't fence me in... :notes:

som-snytt avatar Jan 29 '20 03:01 som-snytt

fixed by #2798

bishabosha avatar Jul 14 '23 17:07 bishabosha