summaryrefslogtreecommitdiff
path: root/ref/proto/sub.html
diff options
context:
space:
mode:
Diffstat (limited to 'ref/proto/sub.html')
-rw-r--r--ref/proto/sub.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/ref/proto/sub.html b/ref/proto/sub.html
index 8ad9ad13..216fa0b9 100644
--- a/ref/proto/sub.html
+++ b/ref/proto/sub.html
@@ -42,6 +42,17 @@
<script src="../toc.js"></script>
</head>
<body>
+ <div id="mdbook-help-container">
+ <div id="mdbook-help-popup">
+ <h2 class="mdbook-help-title">Keyboard shortcuts</h2>
+ <div>
+ <p>Press <kbd>←</kbd> or <kbd>→</kbd> to navigate between chapters</p>
+ <p>Press <kbd>S</kbd> or <kbd>/</kbd> to search in the book</p>
+ <p>Press <kbd>?</kbd> to show this help</p>
+ <p>Press <kbd>Esc</kbd> to hide this help</p>
+ </div>
+ </div>
+ </div>
<div id="body-container">
<!-- Work around some values being stored in localStorage wrapped in quotes -->
<script>
@@ -119,7 +130,7 @@
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
</ul>
- <button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
+ <button id="search-toggle" class="icon-button" type="button" title="Search (`/`)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="/ s" aria-controls="searchbar">
<i class="fa fa-search"></i>
</button>
</div>