Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix list pygments styles example #14245

Merged
merged 1 commit into from Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/config/details.rst
Expand Up @@ -108,8 +108,8 @@ to pick a style in accordance with ``InteractiveShell.colors``.

You can see the Pygments styles available on your system by running::

import pygments
list(pygments.styles.get_all_styles())
from pygments.styles import get_all_styles
list(get_all_styles())

Additionally, ``TerminalInteractiveShell.highlighting_style_overrides`` can override
specific styles in the highlighting. It should be a dictionary mapping Pygments
Expand Down