We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4041
    • 788 Posts
    hey bllo,
    I created a geshi snippet for etomite which you could probably use as an example, or take some of the code and add it to your snippet (I saw your post in the geshi plugin thread)... my snippet highlights snippets, chunks, and documents at the moment.

    heres the link to my documentation page with source and sample snippet calls:

    http://www.frsbuilders.us/

    breezer
      xforum
      http://frsbuilders.net (under construction) forum for evolution
      • 5683
      • 96 Posts
      Quote from: bll0 at Mar 27, 2006, 08:37 PM

      But I think your plugin got a different approach than my snippet. In some way. (Well, I hope so, so that my work wasn’t completely worthless...)
      Sure that your snippet is worthy!

      Your snippet is the best option if you want to include an entire file.
      Moreover, rich text editors don’t behave well with my plugin, because they insert some formatting tags to the code inside <pre>...</pre>. I had to disable my RTE. Thus, if you don’t need to insert many small pieces of code here and there, your snippet is the best option imo.

      I have spent some time in trying to add more options to my plugin; but I’m not very familiar with PERL/PHP regular expressions (well, I know the regular expression I want to write, but I don’t know how to write it with the PERL syntax... the way that was obvious for me didn’t work). When I have some time, I will try a little more.

      Cheers,
      Luca