diff --git a/hc/front/management/commands/pygmentize.py b/hc/front/management/commands/pygmentize.py index 10f05cef..cfac75cd 100644 --- a/hc/front/management/commands/pygmentize.py +++ b/hc/front/management/commands/pygmentize.py @@ -20,4 +20,6 @@ class Command(BaseCommand): _process("crontab.txt", "crontab.html", lexers.BashLexer()) _process("python.txt", "python.html", lexers.PythonLexer()) _process("php.txt", "php.html", lexers.PhpLexer()) + _process("powershell.txt", "powershell.html", + lexers.shell.PowerShellLexer()) _process("node.txt", "node.html", lexers.JavascriptLexer()) diff --git a/templates/front/snippets/powershell.html b/templates/front/snippets/powershell.html new file mode 100644 index 00000000..f238c946 --- /dev/null +++ b/templates/front/snippets/powershell.html @@ -0,0 +1,2 @@ +
Invoke-RestMethod {{ ping_url }}
+