Prettify not formatting Scala properly #44

Closed
dph01 opened this Issue Jun 8, 2012 · 2 comments

Projects

None yet

2 participants

@dph01

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?

@plusjade
ruhoh member

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.

@dph01
@plusjade plusjade closed this Nov 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment