v14.0.0
Update Angular 14
Library has been updated to support Angular 14.
It is recommended to stick with ngx-markdown v13.x.x if you are using Angular 13.
⚠ Breaking Changes
MarkdownService.compile
function has been renamed toparse
and its parameters combined into theparseOptions
objectMarkdownService.render
function has been added to render elements once markdown has been parsed into HTMLMarkdownService.renderKatex
function is now private and called within theMarkdownService.render
functionKatex
plugin now requires Katex Auto-render extension (refer to README.md for instructions)
New features and enhancements
- Add mermaid integration (#385) (181e253) @jfcere
- Add inline parameter and allow pipe to use plugins/configuration (#388) (63fe0c2) @syabru, @jfcere
- Improve math expression rendering with Katex Auto-Render extension (#391) (2ea9f01) @jfcere
- Update prismjs dependency to 1.28.0 (#390) (aa83e61) @rogov-k
- Add reload feature allowing to re-render programmatically (#392) (9578b53) @shanmukhateja, @jfcere
- Add clipboard integration (#394) (0e898fc) @jfcere
- Update Angular 14 (#395) (43f04a5) @jfcere
Bug fixes
Special thanks
- syabru for his contribution to add the inline parsing option
- shanmukhateja for his contribution to add the re-rendering feature with the demo page