Releases: tommilligan/mdbook-admonish
Releases · tommilligan/mdbook-admonish
v1.18.0
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.
- Note: This subtly alters the emitted HTML, and could cause additional styles applied to blocks to break. Native
Fixed
- Fixed some valid configurations producing TOML serialization errors. Thanks to @DianaNites for reporting this! (#197)
v1.17.1
v1.17.0
Changed
- Blocks should have key-value options separated by commas. Existing syntax remains is supported for back-compatibility. See the documentation on Additional Options for more details (#181)
Fixed
v1.16.0
Changed
- MSRV (minimum supported rust version) is now 1.74.0 (#175)
custom
directives should now be configured under thedirective.custom
option. Existingcustom
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
1.15.0
Added
- Support custom directives with the new
mdbook-admonish generate-custom
helper. See the mdbook-admonish book for guidance. Thanks to @Sky9x for helping design this feature! (#165)
Fixed
additional-css
unix style path normalization. Thanks to @carlocorradini for reporting and fixing! (#163)
v1.14.0
1.14.0
Changed
- Styles version updated to
3.0.1
. Runmdbook-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
- You can also now customize the CSS id prefix with the config option
Fixed
- Improve rendering of blocks in print/PDF view. Thanks to @csk111165 for the report (#152)
- Fix the default titles for
tldr
andfaq
directives looking bad. They now render asTL;DR
andFAQ
by default. Thanks @joshka for fixing this! (#154)
v1.13.1
v1.13.0
1.13.0
Changed
- Required styles version is now
^3.0.0
(release1.13.0
). Runmdbook-admonish install
to update. - Internal CSS classnames for directives are now prefixed with
admonish-
, sowarning
is nowadmonish-warning
. This avoids a conflict with upstream classnames introduced inmdbook 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
1.12.1
Fixed
- Panic when searching for an indent in non-ASCII content. Thanks to @CoralPink for the report! (#128
v1.12.0
1.12.0
Added
- Admonitions are now supported when indented inside other elements, such as a list. Thanks to @mattburgess for the report! (#124