evaluating python code blocks using wgbwiki.py

Chris G <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
I'm playing with the wgbwiki.py plugin.

I have the wiki style links working and they'll prove very useful.

However it would seem that evaluating python code blocks works only in
.txt files, or at least it doesn't work in .rst files.

E.g. if I put:-

    <% print "testing 1 2 3 4" %>

in a .txt file I get "testing 1 2 3 4" in the displayed page, however
if I put the same thing in a .rst file then I get to see:-

    <% print "testing 1 2 3 4" %>

in the displayed page, i.e. the python code block isn't seen as python
at all, it's just displayed.

Is this an error, something that's inevitable when using rst, or
something that there's a workaround for?

-- 
Chris Green

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.