Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios, macos] Replace <q> tags with quotation marks in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Jan 9, 2017
1 parent 0749659 commit 9d55c0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions platform/darwin/docs/theme/assets/js/jazzy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(), "\""];
});

0 comments on commit 9d55c0f

Please sign in to comment.