Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Prettify not formatting Scala properly #44

Closed
dph01 opened this Issue · 2 comments

2 participants

Damian Helme Jade Dominguez
Damian Helme

Prettify doesn't seem to be apply the correct formatting to my Scala code.

I tried specifying the language explicitly with <pre class="pretty-print lang-scala">, but that didn't make a difference.

Here's an example of the problem: http://dph01.ruhoh.com/codetest/ . Not sure what style it's applying, but on Line 3, it's treating everything after the # as a comment.

Anyone else had this problem? Any work-arounds? Is an issue with the prettify code?

Jade Dominguez
Owner

Google prettify does document Scala support: http://code.google.com/p/google-code-prettify/source/browse/trunk/src/lang-scala.js so the problem seems to be in the implementation. I'll give this a deeper look as my time permits.

Damian Helme
Jade Dominguez plusjade closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.