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
{{ message }}
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
According to its documentation, Sphinx is capable of syntax-highlighting PowerShell code. To do so, it requires pygments. According to the latter's documentation, powershell is supported since version 1.5.
However, despite the installation of pygments 2.4.2 inside the docker image (see this commit), syntax highlighting does not work. Sphinx gives the following error message: sproof-docs-dev_1 | /sphinx-doc/docker/docker-setup.rst:52: WARNING: Could not lex literal_block as "powershell". Highlighting skipped.
PowerShell syntax highlighting is not an absolute must-have, but it is definitively a nice-to-have formatting. Since other languages (e.g., PHP in the API examples) seem to work fine, this should be investigated and fixed.
The text was updated successfully, but these errors were encountered:
Thanks, the sphinx_rtd_theme seems to be affected as well. And there are dependencies which are not in both files. Is this deliberate or related to how Read the Docs builds the documentation?
According to its documentation, Sphinx is capable of syntax-highlighting PowerShell code. To do so, it requires pygments. According to the latter's documentation,
powershell
is supported since version 1.5.However, despite the installation of pygments 2.4.2 inside the docker image (see this commit), syntax highlighting does not work. Sphinx gives the following error message:
sproof-docs-dev_1 | /sphinx-doc/docker/docker-setup.rst:52: WARNING: Could not lex literal_block as "powershell". Highlighting skipped.
PowerShell syntax highlighting is not an absolute must-have, but it is definitively a nice-to-have formatting. Since other languages (e.g., PHP in the API examples) seem to work fine, this should be investigated and fixed.
The text was updated successfully, but these errors were encountered: