summaryrefslogtreecommitdiff
path: root/platform/darwin/docs/theme/assets/js/jazzy.js
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/docs/theme/assets/js/jazzy.js')
-rwxr-xr-xplatform/darwin/docs/theme/assets/js/jazzy.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/darwin/docs/theme/assets/js/jazzy.js b/platform/darwin/docs/theme/assets/js/jazzy.js
index 2e42193e38..e07f181acc 100755
--- a/platform/darwin/docs/theme/assets/js/jazzy.js
+++ b/platform/darwin/docs/theme/assets/js/jazzy.js
@@ -40,3 +40,8 @@ $(".token").click(function(event) {
}
event.preventDefault();
});
+
+// Dumb down quotes within code blocks that delimit strings instead of quotations.
+$("code q").replaceWith(function () {
+ return ["\"", $(this).contents(), "\""];
+});