Expanded the demo page for powershell and included the mode in the build.

This commit is contained in:
John Kane 2011-09-30 00:28:06 +01:00
commit d9004dc8f5
2 changed files with 13 additions and 3 deletions

View file

@ -212,7 +212,7 @@ project.assumeAllFilesLoaded();
[
"css", "html", "javascript", "php", "python", "lua", "xml", "ruby", "java", "c_cpp",
"coffee", "perl", "csharp", "svg", "clojure", "scss", "json", "groovy",
"ocaml", "scala", "textile", "scad", "markdown", "latex"
"ocaml", "scala", "textile", "scad", "markdown", "latex", "powershell"
].forEach(function(mode) {
console.log("mode " + mode);
copy({

View file

@ -1,5 +1,15 @@
# This is a simple comment
function Hello($name) {
Write-host "Hellot $name"
Write-host "Hello $name"
}
$number = 1 + 2;
$number += 3
Write-Host Hello -name "World"
$an_array = @(1, 2, 3)
$a_hash = @{"something" = "something else"}
& notepad .\readme.md