Custom JavaScript in Docs
Sometimes you may want to use JavaScript to customize your docs site. While we don't generally recommend this (and can't promise you won't break the page by doing so), if you're set on modifying the page content with custom JavaScript, here's the best way to do it.
Add code to the header
Docs already includes the popular jQuery library, so if you're keen to use it, do not include your own jQuery <script> tags - instead, enter your script in the custom header field on the Docs settings page, like so:
Any code you place inside the customScript function will be able to $ for jQuery.