GeShi problems
- From: Ola Bini <ola.bini@gmail.com>
- To: Martin Elwin <martin@elwin.com>
- Cc: dev@ioke.kenai.com
- Subject: GeShi problems
- Date: Mon, 26 Jan 2009 09:16:43 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=PX2Dx1w+SzN+EVczMAp1gbHNUz9s3nK3gWsO9xuYCgU/nJa57sAgl/iD3abZinWXFp Nah4ZF6PBsyB6R94Nn1zlcFqY/jUZWDfAm8/l7/6YF9inobsL5ETpPLjwD9jC317i9jH hKUs+Jpqv8ExnJV2qseyp25zu/GPHpOh39PvU=
Hey,
I'm translating the guide to use Geshi highlighting right now, and I've noticed one larger problem, and one small problem:
The large one is that a regular expression will be highlighted in light gray - as a comment. Something like this:
m = #/({areaCode}\d{3})-({localNumber}\d{5})/ =~ number
reads a bit bad because of this.
The small problem is that interpolation in text doesn't highlight. (things such as "foo #{3+1} bar")
Cheers
--
Ola Bini (http://olabini.com) Ioke creator (http://ioke.org)
JRuby Core Developer (http://jruby.org)
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
"Yields falsehood when quined" yields falsehood when quined.
|
GeShi problems |
Ola Bini | 01/26/2009 |





