Automattic / Automattic/syntaxhighlighter

Powershell Script Highlighted Inconsistently

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
[Pri] Normal [Type] Bug
Dominant language
CSS
Stars
251
Forks
81
PR merge metrics
No merged PRs in 30d

Description

I'm using the SyntaxHighlighterCode in several of my wordpress.com posts, and noticed that for longer Powershell scripts (which run without errors) the color coding is not right. One example can be found [here](https://mihai-albert.com/2020/05/31/automatically-recover-zoom-licenses/#powershell-script).

Notice the issues within the function - almost entirely rendered in blue. Also note that in the script's main body, right after Method = 'GET', a significant portion of the text is again blue. However the function's inner code, placed several paragraphs above, renders just fine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.