-
Notifications
You must be signed in to change notification settings - Fork 662
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
PowerShell Session Multiline Wrong Highlighting #2262
Comments
birkenfeld
added a commit
that referenced
this issue
Oct 26, 2022
Thanks for the report, can you check if the PR fixes it for you? |
Thanks for the super fast response! That fixes it for us! |
birkenfeld
added a commit
that referenced
this issue
Oct 28, 2022
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that using the "PowerShell Session" highlighter won't pick up multiline constructs, and renders anything after the first line as output.
For instance:
Renders like this in https://pygments.org/demo/
I initially thought it might be the backtick as the line continuation character, but it seems that any multiline construct is not picked up properly, for example:
Or
On my command line emulator (Windows Terminal), it looks something like this with PowerShell Core:
On the old Windows PowerShell, with conhost.exe, it looks like this:
The text was updated successfully, but these errors were encountered: