-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15c8841
commit 812ba29
Showing
4 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-core.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js" data-no-mirror></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quicklink.umd.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/anchor.min.js"></script> | ||
|
||
<!-- Lunr search --> | ||
@if (Context.GetBool(WebKeys.GenerateSearchIndex)) | ||
|
@@ -233,6 +234,9 @@ | |
|
||
<!-- Scripts --> | ||
<script> | ||
// Should run before document.ready. See https://github.com/bryanbraun/anchorjs/issues/69#issuecomment-255503575 | ||
anchors.add('#content h1:not(.no-anchor), #content h2:not(.no-anchor), #content h3:not(.no-anchor), #content h4:not(.no-anchor)'); | ||
$(document).ready(function() { | ||
quicklink.listen(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters