Expanded the demo page for powershell and included the mode in the build.
This commit is contained in:
parent
6ab39642d7
commit
d9004dc8f5
2 changed files with 13 additions and 3 deletions
|
|
@ -212,7 +212,7 @@ project.assumeAllFilesLoaded();
|
||||||
[
|
[
|
||||||
"css", "html", "javascript", "php", "python", "lua", "xml", "ruby", "java", "c_cpp",
|
"css", "html", "javascript", "php", "python", "lua", "xml", "ruby", "java", "c_cpp",
|
||||||
"coffee", "perl", "csharp", "svg", "clojure", "scss", "json", "groovy",
|
"coffee", "perl", "csharp", "svg", "clojure", "scss", "json", "groovy",
|
||||||
"ocaml", "scala", "textile", "scad", "markdown", "latex"
|
"ocaml", "scala", "textile", "scad", "markdown", "latex", "powershell"
|
||||||
].forEach(function(mode) {
|
].forEach(function(mode) {
|
||||||
console.log("mode " + mode);
|
console.log("mode " + mode);
|
||||||
copy({
|
copy({
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,15 @@
|
||||||
|
|
||||||
# This is a simple comment
|
# This is a simple comment
|
||||||
function Hello($name) {
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue