# Changelog
## [0.3.6](https://github.com/leandrocp/mdex_mermaid/compare/v0.3.5...v0.3.6) (2026-06-23)
### Bug Fixes
* snippet docs ([#44](https://github.com/leandrocp/mdex_mermaid/issues/44)) by @AlexGx ([31c3f99](https://github.com/leandrocp/mdex_mermaid/commit/31c3f99006b43c8b0096bbd7140b7f8d0f3db568))
## [0.3.5](https://github.com/leandrocp/mdex_mermaid/compare/v0.3.4...v0.3.5) (2026-06-19)
### Features
* Conditionally inject Mermaid initialization ([5462380](https://github.com/leandrocp/mdex_mermaid/commit/5462380dcc1334f86057d24fd60670bc475cc77a)) by @halostatue
## 0.3.5 - 2026-02-18
### Fixed
- Conditionally inject the mermaid script only when code blocks exist (@halostatue)
## 0.3.4 - 2026-01-09
### Changed
- Depend on MDEx >= 0.9.0
## 0.3.3 - 2025-10-09
### Changed
- Add usage-rules.md for LLMs
## 0.3.2 - 2025-10-02
### Changed
- Support MDEx v0.9.2
## 0.3.1 - 2025-09-22
### Changed
- Support MDEx v0.9
## 0.3.0 - 2025-07-07
### Changed
- **Breaking:** Remove option `:mermaid_version` in favor of `:mermaid_init`
- **Breaking:** Remove option `:mermaid_security_level` in favor of `:mermaid_init`
### Added
- Add customizable attributes for mermaid `<pre>` tags via `:mermaid_pre_attrs` option
- Add customizable initialization script via `:mermaid_init` option
## 0.2.0 - 2025-04-08
### Changed
- **Breaking:** Rename option `:version` to `:mermaid_version`
- **Breaking:** Rename option `:security_level` to `:mermaid_security_level`
### Fixed
- Merge all options in `attach/2`
## 0.1.0 - 2025-03-31
### Added
- Initial release