If you use a code-block directive, you can set the parameter (highlighted language) to 'none'. For the literal code blocks following paragraphs ending with ::, you can add "highlight_language = 'text'" to your conf.py so that the text lexer is used.
In both case the code is dumped into <pre> tags. Cheers, Georges On Feb 21, 8:21 pm, Heather Miller <heather.c.mil...@gmail.com> wrote: > I'd like code blocks in my *.rst source to just be dumped, as they are, > into <pre> tags- no extra <span> tags from pygments. Does anyone know how > to disable pygments? I've removed anything having to do with pygments from > my conf.py and theme.conf files (previously I had pygments_style to > simple), though pygments still seems like it's running. > > Cheers, > Heather -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.