# Changelog ## mdBook 0.4.31 [v0.4.30...v0.4.31](https://github.com/rust-lang/mdBook/compare/v0.4.30...v0.4.31) ### Fixed - Fixed menu border render flash during page navigation. [#2101](https://github.com/rust-lang/mdBook/pull/2101) - Fixed flicker setting sidebar scroll position. [#2104](https://github.com/rust-lang/mdBook/pull/2104) - Fixed compile error with proc-macro2 on latest Rust nightly. [#2109](https://github.com/rust-lang/mdBook/pull/2109) ## mdBook 0.4.30 [v0.4.29...v0.4.30](https://github.com/rust-lang/mdBook/compare/v0.4.29...v0.4.30) ### Added - Added support for heading attributes. Attributes are specified in curly braces just after the heading text. An HTML ID can be specified with `#` and classes with `.`. For example: `## My heading {#custom-id .class1 .class2}` [#2013](https://github.com/rust-lang/mdBook/pull/2013) - Added support for hidden code lines for languages other than Rust. The `output.html.code.hidelines` table allows you to define the prefix character that will be used to hide code lines based on the language. [#2093](https://github.com/rust-lang/mdBook/pull/2093) ### Fixed - Fixed a few minor markdown rendering issues. [#2092](https://github.com/rust-lang/mdBook/pull/2092) ## mdBook 0.4.29 [v0.4.28...v0.4.29](https://github.com/rust-lang/mdBook/compare/v0.4.28...v0.4.29) ### Changed - Built-in fonts are no longer copied when `fonts/fonts.css` is overridden in the theme directory. Additionally, the warning about `copy-fonts` has been removed if `fonts/fonts.css` is specified. [#2080](https://github.com/rust-lang/mdBook/pull/2080) - `mdbook init --force` now skips all interactive prompts as intended. [#2057](https://github.com/rust-lang/mdBook/pull/2057) - Updated dependencies [#2063](https://github.com/rust-lang/mdBook/pull/2063) [#2086](https://github.com/rust-lang/mdBook/pull/2086) [#2082](https://github.com/rust-lang/mdBook/pull/2082) [#2084](https://github.com/rust-lang/mdBook/pull/2084) [#2085](https://github.com/rust-lang/mdBook/pull/2085) ### Fixed - Switched from the `gitignore` library to `ignore`. This should bring some improvements with gitignore handling. [#2076](https://github.com/rust-lang/mdBook/pull/2076) ## mdBook 0.4.28 [v0.4.27...v0.4.28](https://github.com/rust-lang/mdBook/compare/v0.4.27...v0.4.28) ### Changed - The sidebar is now shown on wide screens when localstorage is disabled. [#2017](https://github.com/rust-lang/mdBook/pull/2017) - Preprocessors are now run with `mdbook test`. [#1986](https://github.com/rust-lang/mdBook/pull/1986) ### Fixed - Fixed regression in 0.4.26 that prevented the title bar from scrolling properly on smaller screens. [#2039](https://github.com/rust-lang/mdBook/pull/2039) ## mdBook 0.4.27 [v0.4.26...v0.4.27](https://github.com/rust-lang/mdBook/compare/v0.4.26...v0.4.27) ### Changed - Reverted the dependency update to the `toml` crate. This was an unintentional breaking change in 0.4.26. [#2021](https://github.com/rust-lang/mdBook/pull/2021) ## mdBook 0.4.26 [v0.4.25...v0.4.26](https://github.com/rust-lang/mdBook/compare/v0.4.25...v0.4.26) **The 0.4.26 release has been yanked due to an unintentional breaking change.** ### Changed - Removed custom scrollbars for webkit browsers [#1961](https://github.com/rust-lang/mdBook/pull/1961) - Updated some dependencies [#1998](https://github.com/rust-lang/mdBook/pull/1998) [#2009](https://github.com/rust-lang/mdBook/pull/2009) [#2011](https://github.com/rust-lang/mdBook/pull/2011) - Fonts are now part of the theme. The `output.html.copy-fonts` option has been deprecated. To define custom fonts, be sure to define `theme/fonts.css`. [#1987](https://github.com/rust-lang/mdBook/pull/1987) ### Fixed - Fixed overflow viewport issue with mobile Safari [#1994](https://github.com/rust-lang/mdBook/pull/1994) ## mdBook 0.4.25 [e14d381...1ba74a3](https://github.com/rust-lang/mdBook/compare/e14d381...1ba74a3) ### Fixed - Fixed a regression where `mdbook test -L deps path-to-book` would not work. [#1959](https://github.com/rust-lang/mdBook/pull/1959) ## mdBook 0.4.24 [eb77083...8767ebf](https://github.com/rust-lang/mdBook/compare/eb77083...8767ebf) ### Fixed - The precompiled linux-gnu mdbook binary available on [GitHub Releases](https://github.com/rust-lang/mdBook/releases) inadvertently switched to a newer version of glibc. This release goes back to an older version that should be more compatible on older versions of Linux. [#1955](https://github.com/rust-lang/mdBook/pull/1955) ## mdBook 0.4.23 [678b469...68a75da](https://github.com/rust-lang/mdBook/compare/678b469...68a75da) ### Changed - Updated all dependencies [#1951](https://github.com/rust-lang/mdBook/pull/1951) [#1952](https://github.com/rust-lang/mdBook/pull/1952) [#1844](https://github.com/rust-lang/mdBook/pull/1844) - Updated minimum Rust version to 1.60. [#1951](https://github.com/rust-lang/mdBook/pull/1951) ### Fixed - Fixed a regression where playground code was missing hidden lines, preventing it from compiling correctly. [#1950](https://github.com/rust-lang/mdBook/pull/1950) ## mdBook 0.4.22 [40c06f5...4844f72](https://github.com/rust-lang/mdBook/compare/40c06f5...4844f72) ### Added - Added a `--chapter` option to `mdbook test` to specify a specific chapter to test. [#1741](https://github.com/rust-lang/mdBook/pull/1741) - Added CSS styling for `` tags. [#1906](https://github.com/rust-lang/mdBook/pull/1906) - Added pre-compiled binaries for `x86_64-unknown-linux-musl` and `aarch64-unknown-linux-musl` (see [Releases](https://github.com/rust-lang/mdBook/releases)). [#1862](https://github.com/rust-lang/mdBook/pull/1862) - Added `build.extra-watch-dirs` which is an array of additional directories to watch for changes when running `mdbook serve`. [#1884](https://github.com/rust-lang/mdBook/pull/1884) ### Changed - Removed the `type="text/javascript"` attribute from `