Skip to content

Add sphinx-syntax-example as dependency #1255

Backlog

Description

@Kamik423

What version of myst-parser are you using?

5.2.0

What version dependencies are you using?

sphinx 9.2.0

What operating system are you using?

Mac

Describe the Bug

Feel free to close this if you do not actually consider this a bug.

We are using myst_parser._docs.MystLexer in our Sphinx documentation for highlighting MyST-Blocks on an internal page for our editors that demonstrates how to use MyST syntax. This worked fine in MyST 5.1.0 but with MyST 5.2.0 it breaks as _docs now imports sphinx-syntax-example which is not a dependency of MyST and is thus missing in the installation.

Adding sphinx-syntax-example as a project dependency resolves the issue.

Expected Behavior

No response

To Reproduce

No response

Activity

  1. added
    bug
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions