Example of a PowerShell script converted to HTML with syntax highlighting


This is not a real script, it is a script used for testing of syntax description PowerShell.hrc for Colorer and covering related issues. Perhaps this HTML looks like a Christmas Tree, no problem, it is just a demo. One can configure Colorer according to his preferences. Take a look at how it handles and distinguishes expandable and not expandable string content and escaping rules, is not it a beauty?


Demo: highlighted PowerShell

EDIT: replaced large demo text with a link

Advertisements
  1. #1 by MOW on March 18, 2007 - 12:44 am

    Ahh, my eyes 😉
     
    but real cool
    very flexible, and yes the ” and "" parsing is a beauty (when simplefied )
     
    Greetings /\/\o\/\/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: