v18.0.0
Update Angular 18
Library has been updated to support Angular 18.
It is recommended to stick with ngx-markdown v17.x.x if you are using Angular 17.
New features and enhancements
- Update to Angular 18
- Remove clipboard button inline opacity transition and add CSS classes
⚠️ Breaking changes
Clipboard Plugin
The clipboard button no longer has an opacity transition by default. Instead, CSS classes have been added to allow customization as documented in the README.md and the Plugins > Clipboard Plugin section of the demo site.
To keep the previous behavior, simply add the following CSS to your global styles.css/scss
styling file.
.markdown-clipboard-toolbar {
opacity: 0;
transition: opacity 250ms ease-out;
}
.markdown-clipboard-toolbar.hover {
opacity: 1;
}
Special thanks
🥇 Thanks to @pkurcx for his contribution to update Angular 18.