Syntax Highlighter for Universal Dashboard
Install-Module UniversalDashboard.SyntaxHighlighter
Import-Module UniversalDashboard
Import-Module UniversalDashboard.SyntaxHighlighter
$Dashboard = New-UDDashboard -Title "Syntax Highlighter" -Content {
New-UDSyntaxHighlighter -Language PowerShell -Style dark -Code "Get-Process -Name 'code'"
}
Start-UDDashboard -Dashboard $Dashboard -Port 10001 -Force