diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a36ee6d..0d76ee2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,3 +6,4 @@ All notable changes to this project will be documented in this file. ### Improvements - A new "Check Details" page. - Updated django-compressor, psycopg2, pytz, requests package versions. +- C# usage example. \ No newline at end of file diff --git a/hc/front/management/commands/pygmentize.py b/hc/front/management/commands/pygmentize.py index 44ce0356..b05077c7 100644 --- a/hc/front/management/commands/pygmentize.py +++ b/hc/front/management/commands/pygmentize.py @@ -31,6 +31,7 @@ class Command(BaseCommand): _process("bash_wget", lexers.BashLexer()) _process("browser", lexers.JavascriptLexer()) _process("crontab", lexers.BashLexer()) + _process("cs", lexers.CSharpLexer()) _process("node", lexers.JavascriptLexer()) _process("python_urllib2", lexers.PythonLexer()) _process("python_requests", lexers.PythonLexer()) diff --git a/templates/front/base_docs.html b/templates/front/base_docs.html index a38f1a18..44187b53 100644 --- a/templates/front/base_docs.html +++ b/templates/front/base_docs.html @@ -14,6 +14,7 @@
diff --git a/templates/front/show_usage_modal.html b/templates/front/show_usage_modal.html index 8ff46bbb..ce4cf955 100644 --- a/templates/front/show_usage_modal.html +++ b/templates/front/show_usage_modal.html @@ -23,6 +23,9 @@
using (var client = new System.Net.WebClient())
+{
+ client.DownloadString("{{ ping_url }}");
+}
+