On Wednesday 30 May 2001 07:50, Tom Schwaller wrote:
> Are filters already working?
> #filter filterName(filterArgs)
> ..
> #/filter filterName(filterArgs)
You can do static once-off filtering with 
custom macros, but I haven't gotten around to 
implementing a run-time #filter directive yet.


> It would be really nice to have e.g.
> #filter coloredPythonCode
> class Test:
>   def __init__(self):
>     pass #not implemeted yet
> #/filter
> much better than #verbatim for the above case...
> any chance for that feature in the near future?
Nice idea!!!  I'm tied up with Thesis work all day, but 
you could easily implement this if you wanted to work 
from the example of the #block directive.

Step 1:
 -create the regexs to match it
Step 2:
 - create a processor function to process it 
    see the other ones in T...S...CodeGenerator
Step 3:
  - add the regexes and the processor to the 
     hooks in TS.Server._settings

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to