1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #8791 closed

Use pygments `code` directive (BB-9952)

Zachary Davis
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 (3)

  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