code-prettify: powershell

by Amro

HTML

<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<h2>Powershell</h2>
<pre class="prettyprint">
$x = $(Get-ChildItems -Path "C:\some\path\" -Name)  # comment
</pre>
<pre class="prettyprint">
$x = $(Get-ChildItems -Path "C:\some\path" -Name)  # comment
</pre>
<p>Note: there is no extension for Powershell, this is the default language handler</p>

CSS

pre.prettyprint {
  background-color: #eee;
}