Releases: jfcere/ngx-markdown
v20.0.0
Update Angular 20
Library has been updated to support Angular 20.
It is recommended to stick with ngx-markdown v19.x.x if you are using Angular 19.
New features and enhancements
- Update to Angular 20
- Remove direct uses of function when providing marked extensions through
MarkdownModuleConfig.markedExtensions
- Remove
AsyncPipe
from the library to reduce bundle size
⚠ Breaking changes
- The configuration property
MarkdownModuleConfig.markedExtensions
no longer accepts an array of functions as a parameter but requires the use ofMARKED_EXTENTIONS
injection token (see marked extensions for instruction)
Special Thanks
🥇 Thanks to @arturovt for his first contribution in removing AsyncPipe
(#587)
Commits
v19.1.1
v19.1.0
v19.0.0
Update Angular 19
Library has been updated to support Angular 19.
It is recommended to stick with ngx-markdown v18.x.x if you are using Angular 18.
New features and enhancements
- Update to Angular 19
- Update
marked
dependency to 15.0.0 - Add global configuration for
mermaid
plugin and update options
⚠ Breaking changes
Marked dependency
Marked has been updated to the latest version, 15.0.0. The renderer token override functions have changed and need to be adjusted. Extension packages will also need to be updated to match the new marked version.
Mermaid plugin
Mermaid options have been updated and bring model changes. Minor adjustments will need to be made, please refer to lib/src/mermaid-options.ts for updated typings.
Special thanks
🥇 Thanks to @pkurcx for his contribution to update Angular 19.
Commits
v18.1.0
New features and enhancements
- Add support for emoji-toolkit version 9.0.0, Unicode 15.1 (#546) (39dfb63) @jfcere
- Add support for mermaid version 11 (#547) (0c81a5f) @hardikpatel043
Bug Fixes
Special Thanks
🥇 Thanks to @klofi for his contribution in fixing globally imported CLIPBOARD_OPTIONS
🥇 Thanks to @hardikpatel043 for his contribution in adding support for mermaid 11.0.0
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.
Commits
v17.2.1
v17.2.0
v17.1.1
Bug Fixes
- Relax provideMarkdown method usage to not require environment provider (#490) (cf5a1df) @NateRadebaugh
Special Thanks
🥇 Thanks to @NateRadebaugh for his contribution.
v17.1.0
New features and enhancements
- Add support for standalone component (#484) (e1245d4) @robertIsaac, @jfcere
Bug Fixes
Special Thanks
🥇 Thanks to @robertIsaac for his contribution to add support for standalone components.