/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/examples/prism-powershell.html
19 строк
388 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
<h2>Comments</h2> <pre><code># This is a comment <# This is a multi-line comment #></code></pre> <h2>Variable Interpolation</h2> <pre><code>$Name = "Alice" Write-Host "Hello, my name is $Name."</code></pre> <h2>Full Example</h2> <pre><code>Function SayHello([string]$name) { Write-Host "Hello, $name." } $Names = @("Bob", "Alice") $Names | ForEach { SayHello $_ } </code></pre>