Skip to content

Fix doc syntax highlighting #19972

@jdemeyer

Description

@jdemeyer

Currently, the ....: doctest continuation lines are not parsed correctly by Pygments. As a consequence, those lines are not syntax highlighted.

We should also investigate if we can extend Pygments without patching it and whether the highlighting for Sage can be pushed upstream.

Depends on #19968

CC: @slel

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/19972

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions