On 17 October 2010 18:44, "Martin v. Löwis" <[email protected]> wrote:

> > Can I make a feature request for PyPI. Please allow syntax highlighting
> > for code examples using pygments and the rest code-block directive.
>
> Unfortunately, I don't even understand what the request means
>


I would like the Python code examples that appear on many PyPI summary pages
to be "syntax highlighted", such as you might have in any competent Python
IDE.

Pygments is a (even "the") popular Python library for syntax highlighting of
*many* programming languages and it integrates very well with the
reStructured Text used in PyPI descriptions.

http://pygments.org/

A few lines of code in PyPI hooking up Pygments into reStructured Text
(Pygments provides a ready made directive for this purpose) and including
the pygments css in PyPI pages would allow this.

All the best,

Michael Foord



> (I don't know what pygments is, for example), so I won't be able
> to do much about such a request.
>
> Regards,
> Martin
>



-- 
http://www.voidspace.org.uk
_______________________________________________
Catalog-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/catalog-sig

Reply via email to