[e-lang] Peculiar wiki code conversion bug

James Graves ansible at xnet.com
Thu Dec 7 15:23:03 CST 2006


James Graves wrote:

> Mark S. Miller wrote:
> 
>> Since we're running our own wiki, if I did write an E syntax highlighter in E 
>> -- converting E source text to syntax highlighted html -- would it be possible 
>> to run that as part of our wiki's rendering of wiki <code> into html <pre> blocks?

[...snipped...]

> So the only missing piece is a syntax file for E itself.

In case that I wasn't clear, with GeSHi, you'd just have special tags in 
your wiki source like <geshiperl> ...some Perl code... </geshiperl> and 
it would be syntax highlighted when displayed.

Makes it a lot easier for everyone to edit too.

So we don't need a syntax highlighter that creates HTML, just a module 
that plugs into GeSHi for the E syntax.  And that'll be in PHP.

James


More information about the e-lang mailing list