Skip to content

Releases: jfcere/ngx-markdown

v20.0.0

31 May 02:07
Compare
Choose a tag to compare

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 of MARKED_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

14 Mar 11:47
Compare
Choose a tag to compare

Bug Fixes

  • Update Prism.js version to 1.30.0 (#576) @JuNe98
  • Add support for Safari 13.2 and up for demo app (#571) @jfcere

Special Thanks

🥇 Thanks to @JuNe98 for his first contribution in #576

v19.1.0

09 Feb 01:29
Compare
Choose a tag to compare

New features and enhancements

v19.0.0

20 Nov 20:52
Compare
Choose a tag to compare

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

01 Oct 18:56
Compare
Choose a tag to compare

New features and enhancements

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

26 May 16:06
Compare
Choose a tag to compare

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

21 Apr 23:58
Compare
Choose a tag to compare

Bug Fixes

v17.2.0

31 Mar 00:19
07a9ed5
Compare
Choose a tag to compare

New features and enhancements

v17.1.1

19 Nov 02:13
Compare
Choose a tag to compare

Bug Fixes

Special Thanks

🥇 Thanks to @NateRadebaugh for his contribution.

v17.1.0

13 Nov 03:17
Compare
Choose a tag to compare

New features and enhancements

Bug Fixes

Special Thanks

🥇 Thanks to @robertIsaac for his contribution to add support for standalone components.