Skip to content

Releases: tommilligan/mdbook-admonish

v1.18.0

20 Jun 14:31
147a9bd
Compare
Choose a tag to compare

Changed

  • Add ARIA attributes to generated blocks. Thanks to @toastal for suggesting this feature! (#195)
    • Note: This subtly alters the emitted HTML, and could cause additional styles applied to blocks to break. Native mdbook-admonish styles are not affected.

Fixed

  • Fixed some valid configurations producing TOML serialization errors. Thanks to @DianaNites for reporting this! (#197)

v1.17.1

11 Jun 13:56
08397fb
Compare
Choose a tag to compare

Fixed

  • Removed a stray debug statement (#186)

v1.17.0

24 May 14:12
08967d5
Compare
Choose a tag to compare

Changed

Fixed

  • Titles contining = will now render correctly. Thanks to @s00500 for the bug report! (#181)

v1.16.0

19 May 16:26
82c7bd4
Compare
Choose a tag to compare

Changed

  • MSRV (minimum supported rust version) is now 1.74.0 (#175)
  • custom directives should now be configured under the directive.custom option. Existing custom configurations are supported for back compatibility (#179)

Added

  • Make blocks collapsible on a per-directive basis. Thanks to @yannickseurin for contributing this feature! (#174)

Fixed

  • The css_id_prefix option now uses snake case for consistency (kebab case remains supported for back compatibility). Thanks to @yannickseurin for fixing this! (#173)

v1.15.0

30 Dec 20:46
8a0ecc5
Compare
Choose a tag to compare

1.15.0

Added

Fixed

  • additional-css unix style path normalization. Thanks to @carlocorradini for reporting and fixing! (#163)

v1.14.0

16 Nov 00:11
dc219f7
Compare
Choose a tag to compare

1.14.0

Changed

  • Styles version updated to 3.0.1. Run mdbook-admonish install to update.

Added

  • You can now set custom CSS ids for admonition blocks with the id field. Thanks to @Sky9x for contributing this feature! (#144)
    • You can also now customize the CSS id prefix with the config option default.css_id_prefix

Fixed

  • Improve rendering of blocks in print/PDF view. Thanks to @csk111165 for the report (#152)
  • Fix the default titles for tldr and faq directives looking bad. They now render as TL;DR and FAQ by default. Thanks @joshka for fixing this! (#154)

v1.13.1

17 Oct 09:08
31d5a27
Compare
Choose a tag to compare

1.13.1

Changed

  • Bumped internal mdbook version to 0.4.35 (#142)

Fixed

  • Relaxed clap dependency to fix compilation error when using other mdbook-* plugins. Thanks to @joshka for the report! (#142)

v1.13.0

06 Oct 15:03
197d9cd
Compare
Choose a tag to compare

1.13.0

Changed

  • Required styles version is now ^3.0.0 (release 1.13.0). Run mdbook-admonish install to update.
  • Internal CSS classnames for directives are now prefixed with admonish-, so warning is now admonish-warning. This avoids a conflict with upstream classnames introduced in mdbook 0.4.35. Thanks to @phoenixr-codes for the report and fix! (#139)

Fixed

  • Some minor inconsistencies in SCSS (and downstream CSS) styles were fixed by adopting Prettier linting (#138)

v1.12.1

19 Sep 12:12
a839038
Compare
Choose a tag to compare

1.12.1

Fixed

  • Panic when searching for an indent in non-ASCII content. Thanks to @CoralPink for the report! (#128

v1.12.0

16 Sep 10:30
496e8f7
Compare
Choose a tag to compare

1.12.0

Added

  • Admonitions are now supported when indented inside other elements, such as a list. Thanks to @mattburgess for the report! (#124