Getting PowerShell scripts with syntax highlight and line numbers into your blog, Word document or Outlook email is now easier than ever before! Once you download Karl Mitschke‘s Copy to Colorized HTML add-on, extract it to the modules folder and select it in the PowerShell Libraries dialog box, you’ll get Edit / Copy As / Colorized HTML (Ctrl-H) command added to PowerGUI Script Editor menu.
Select the script, click the command, then paste the code into your email, document or other rich text control editor such as Live Writer.
Note, that this add-on is different from the native Copy As / HTML functionality which puts into clipboard plain text with HTML tags – this you would paste into HTML editing window of your blog, Karl’s add-on output – into a rich text editor. Nice complementary pieces of functionality. Now we got everything covered!
Karl’s add-on is participating in the PowerGUI Challenge 2010. Got a great add-on idea? Take part in the contest!
Hi,
It kinda works, but, It strips out a lot of my line feeds and my Live Writer does not like it at all.
Can you post this as a comment at the add-on page: http://powergui.org/entry.jspa?externalID=3021 – so Karl sees the comment and can fix the issue?