You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i then python -m build the project and pip install dist/*.tar.gz the generated output.... using pip list, i can see both pygments and my own package installed in the same environment....
as a test, i'll run pygmentize -L but don't see my custom language listed; attempts to force use of the lexer through the -l option likewise fail....
is there some obvious step i'm missing???? when/how does pygments discover my plugin??? is there some way i can trace that discovery process???
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
i've asked this question on stackoverflow, in case someone is accumulating reputation points....
i've developed and tested a custom pygments lexer, as described here... i then prepared a
pyproject.toml
file whose contents are as follows:i then
python -m build
the project andpip install dist/*.tar.gz
the generated output.... usingpip list
, i can see both pygments and my own package installed in the same environment....as a test, i'll run
pygmentize -L
but don't see my custom language listed; attempts to force use of the lexer through the-l
option likewise fail....is there some obvious step i'm missing???? when/how does pygments discover my plugin??? is there some way i can trace that discovery process???
Beta Was this translation helpful? Give feedback.
All reactions