-
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 f951a77
Showing
4 changed files
with
18 additions
and
3 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,8 +36,9 @@ | |
<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 --> | ||
<!-- Lunr search -->c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-sandbox\workbench\workbench.html | ||
@if (Context.GetBool(WebKeys.GenerateSearchIndex)) | ||
{ | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lunr.min.js"></script> | ||
|
@@ -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