• Hello all,

    I’ve migrated from WordPress.com to .org and am now self hosting on my own Linux server VM setup in Azure. I’ve been trying to replicate the feel of posting on WordPress.com and one thing that was missing was the code and syntax highlighting capabilities.

    I’ve installed Syntax Highlighter Evolved, and the code appears formatted differently than without it, however my code does not have PowerShell highlighting, as it did before on WordPress.com.

    Here’s a link to a site with the issue : http://foxbuntu.cloudapp.net/?p=1180

    When I’m trying to add code, I do this, but it still no worky, and it worked on WordPress.com

    [code language="powershell"]
    $LogPath = "C:inetpublogs"
    $maxDaystoKeep = -30
    $outputPath = "c:CleanupTaskCleanup_Old_logs.log"
    [/code]

    https://ww.wp.xz.cn/plugins/syntaxhighlighter/

The topic ‘PowerShell syntax highlighting doesn't seem to work’ is closed to new replies.