v1.6.0
Update to Angular 6
Repository has been updated to Angular 6 and now uses HttpClient
instead of Http
service.
Breaking changes
Due to the fact that Angular 6 uses RxJS 6 and that they removed deep imports ngx-markdown
is no longer supported for all previous version of Angular. If you are using an older version of Angular you can still use previous versions of the package (<1.6.0).
As of Angular 6, the default value of compile option preserveWhitespaces
is now set to false
which tells the compiler to remove blank text nodes from compiled templates. This can cause issues when using content projection into markdown
component and/or directive. To avoid the issue you can place the ngPreserveWhitespaces
directive on the host element (see the Usage documentation in README.md
).