mdbook/src/renderer
Eric Huss 33da0c26c4 Some updates to the help popup
This makes a few changes to the help popup:

- Move css to chrome.css, since this is a UI element.
- Move HTML code to index.hbs instead of generated in JavaScript.
  In general I prefer to keep HTML out of JavaScript when possible,
  and I didn't see a particular reason to avoid it.
- Added a click handler to dismiss the popup.
- Make sure handlers get removed when dismissed.
- Use `mdbook-` prefixes for IDs to avoid collisions with headers.
- Don't show search if it isn't enabled.
- Add the new `/` shortcut.
- Use flex layout for better positioning.
- Dim out the surrounding text using an overlay.
- Various other styling tweaks.
- Add a GUI test.
2025-05-14 18:17:16 -07:00
..
html_handlebars Some updates to the help popup 2025-05-14 18:17:16 -07:00
markdown_renderer.rs Apply clippy::needless_borrow 2023-05-13 09:44:11 -07:00
mod.rs Require Rust 2021 edition 2022-09-09 16:00:35 +02:00