Hello !
This time I wanted to use Pygments to highlight docstrings I included in
wiki pages. The package's installed but nothing works. I tried :
- enable and disable Pygments component in trac.ini
- Include `text/x-python-doctest:pycon:4` in `mimeviewer.pygments_modes`
option.
- Uninstall and install once again.
- Nothing found in the log file ...
Besides I'm using Trac 0.11 and
{{{
#!pycon
>>> import pygments
>>> from pygments.lexers import get_lexer_by_name as lbn
>>> lbn("pycon", stripall=True)
<pygments.lexers.PythonConsoleLexer with {'stripall': True}>
}}}
... and nothing works. So does anybody know what could be wrong ?
Am I missing something ?
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---