From: Pau G. <pau...@gm...> - 2006-05-19 16:56:41
|
On 5/19/06, jo...@st... <jo...@st...> wrote: > > For your information: http://scipy.org/Numpy_Example_List > - all examples are now syntax highlighted (thanks Pau Gargallo!) > - most examples have now a clickable "See also:" footnote > - is extended to 118 examples > > Joris > Thanks to you Joris !! 118 examples in a week, you did a huge work! The color syntax have some problems. We are using now the moinmoin command: {{{#!python numbers=3Ddisable so moinmoin is coloring the interactive sessions as if they were python files. This gives error when the output of the interactive session don't look like python code. See for example http://www.scipy.org/Numpy_Example_List#histogram where the print commands print opening brackets "[" and not the closing ones. Does someone know an easy way to solve this? Is there some way to deactivate the #!python color highlighting for some lines of the code? All around the scipy.org site there are examples of interactive python sessions, it will be nice to have a special syntax highlighter for them. Like: {{{#!python_interactive may be to much efforts just for colors? pau |