FAQ » History » Version 5
« Previous -
Version 5/10
(diff) -
Next » -
Current version
Kornelius Kalnbach, 02/10/2010 01:54 AM
FAQ¶
- Table of contents
- FAQ
Documentation¶
Both are somewhat historic, and will be cleaned up some day!
The HTML output doesn't have colors!¶
If you use the HTML
encoder, you need a CodeRay stylesheet. Try running:
coderay_stylesheet > coderay.css
or use the Div
(inline styles) or Page
(standalone HTML page) encoders.
I Want A <language> Scanner!¶
Read about ScannerRequests.
CodeRay throws Exceptions at me when $DEBUG is set!¶
It will be adressed in the next release (#192). For now, wrap your CodeRay calls with:
debug = $DEBUG
$DEBUG = false
CodeRay.do(:something)
$DEBUG = debug
The JSON scanner doesn't allow comments!¶
That's because you use invalid JSON. Read an elaborate answer about the Picky JSON Scanner.