A detailed description how to install BlogShell and use it can be found in this blog post: Publishing source code from the PowerShell ISE to the web with BlogShell