From 9d55c0f479aad655566f3a9e7841d155463d51a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sun, 8 Jan 2017 01:37:27 -0800 Subject: [ios, macos] Replace tags with quotation marks in code blocks --- platform/darwin/docs/theme/assets/js/jazzy.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'platform/darwin/docs') 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(), "\""]; +}); -- cgit v1.2.1