In particular, this commit allows users to supply a Python executable
which is needed if, for example, Pygments is installed for Python 3, but python is an alias for Python 2.
Note that this is backward compatible with the previous version (the change to params is OK because Pollen never expose them to users, and the function pygmentize is private, so changing the signature is also OK).
Upstream code:
https://github.com/greghendershott/frog/blob/master/frog/private/enhance-body/syntax-highlight/pygments.rkt
In particular, this commit allows users to supply a Python executable
which is needed if, for example, Pygments is installed for Python 3, but
`python` is an alias for Python 2.
Note that this is backward compatible with the previous version (the change to `params` is OK because Pollen never expose them to users, and the function `pygmentize` is private, so changing the signature is also OK).
Upstream code:
https://github.com/greghendershott/frog/blob/master/frog/private/enhance-body/syntax-highlight/pygments.rkt
In particular, this commit allows users to supply a Python executable
which is needed if, for example, Pygments is installed for Python 3, but
python
is an alias for Python 2.Note that this is backward compatible with the previous version (the change to
params
is OK because Pollen never expose them to users, and the functionpygmentize
is private, so changing the signature is also OK).OK! Thanks!
7ab5a8d59f
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.