From: "ara.t.howard" Date: 2008-10-19T01:32:21+09:00 Subject: Re: Low level syntax highlighting tools? On Oct 18, 2008, at 9:41 AM, Gregory Brown wrote: > I'll confess I didn't research this deeply, in hopes that someone > knows of a library and can point me right at it. > > Are there any syntax gems out there that'll spit back simple strings > and color values, > something like: > > [["def foo\n", "ccffcc"], [" bar()\n", "ffffff" ], ["end", "ccffcc"]] > > If such a tool exists, I can rejoice, because it'd allow me to build > an awsum Prawn based presentation builder. > > -greg it seems like using Hpricot against one of the current highlighters would work - just skim out innerHTML/class pairs right? a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama