mdBook/src
Em Zhan 72b3227824 Fix flicker when setting sidebar scroll position
Previously, sidebar scroll was set in an external script which caused a
flicker as the sidebar is initially rendered without any scroll before
being scrolled to the desired location.

Switching to an inline script right after the HTML tags for the sidebar
seems to avoid the flicker in most cases. In addition, logic is added to
avoid scrolling jumps when navigating via links within the sidebar.
2023-06-21 19:25:21 -05:00
..
book Apply clippy::manual_while_let_some 2023-05-13 09:50:32 -07:00
cmd Apply clippy::borrow_deref_ref 2023-05-13 09:44:50 -07:00
preprocess Apply clippy::needless_borrow 2023-05-13 09:44:11 -07:00
renderer Apply some code style changes. 2023-05-28 14:04:58 -07:00
theme Fix flicker when setting sidebar scroll position 2023-06-21 19:25:21 -05:00
utils Add working heading extension 2023-05-28 10:47:13 -07:00
config.rs Support hidden lines in languages other than Rust 2023-05-28 14:04:54 -07:00
lib.rs Require Rust 2021 edition 2022-09-09 16:00:35 +02:00
main.rs upgrade clap to 4.0 2022-12-14 17:11:08 -08:00