Issue #8791 new

Use pygments `code` directive (BB-9952)

Zach Davis
staff created an issue

We currently use the sourcecode directive instead of the code directive, but as pointed out elsewhere, the Pygments documentation does not refer to use of a sourcecode directive and this creates portability problems.

Comments (2)

  1. Éric Araujo

    Note that code is defined by docutils, whereas sourcecode is presumably a copy of Pygments’ directive. I don’t know if it’s possible to override a built-in directive.

  2. Log in to comment