Re: Syntax highlighting
Kent Johnson <kent_johnson-dQk/[email protected]> Sun, 16 May 2004 11:06:05 -0400
| Newsgroups | gmane.comp.python.pyds.user |
|---|---|
| Message-ID | <[email protected]> |
I looked at the first link already. But it only shows the output, not the source. I finally found a comment in PyDS.codeblock.py that shows the correct usage: .. code-block:: Python <blank line> <some code> Using .. pycode:: works (once I figured out that I have to follow it with a blank line :-). Thanks, Kent >>How do I get PyDS to highlight the syntax in Python code? > >http://pyds.muensterland.org/weblog/2004/01/26.html#P201 > >or alternatively > >http://www.westfalen.de/pipermail/pyds-dev/2003-November/000455.html > >(The needed code for the second one is already integrated in PyDS, so just >use py-code as the example says) > >bye, Georg