v10.0.0
What's Changed
- feat: Migrate to Angular standalone components, closes #260 in cadcd11.
- fix: Add line-numbers as a sub package, closes #234 in 7f8f551.
- refactor: Update deprecated rxjs usage.
Breaking changes
- When using
HighlightPlusModule
, you must haveprovideHttpClient()
provided in yourmain.ts
file in order to make the http requests work. - The line numbers plugin is now included within the package, the import path should point to the new sub-package
ngx-highlightjs/line-numbers
providers: [
{
provide: HIGHLIGHT_OPTIONS,
useValue: {
lineNumbersLoader: () => import('ngx-highlightjs/line-numbers')
}
}
]
Full Changelog: v9.0.0...v10.0.0