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

pygmentize -S does not use the styler #1566

Closed
jfmoulin opened this issue Oct 6, 2020 · 1 comment
Closed

pygmentize -S does not use the styler #1566

jfmoulin opened this issue Oct 6, 2020 · 1 comment

Comments

@jfmoulin
Copy link

jfmoulin commented Oct 6, 2020

Under Linux mint 20:
invoking
pygmentize -l python mipy.py
works correctly, whereas when I try to specify a style (using a name listed by pygmentize -L)
pygmentize -S inkpot -l python mipy.py
returns the help page

@birkenfeld
Copy link
Member

-S is the option to print general style definitions (e.g. CSS) for a given style.

To use a given style, style is a formatter option, e.g. pygmentize -O style=inkpot mipy.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants