ngx-highlightjs
Advanced tools
Changelog
1.2.1
el.tagName.toLowerCase()
to check for if the highlight element is type of <code>
Changelog
1.2.0
[code]
inputChangelog
1.1.1
Improve performance
Fix load hljs script only once
Remove hlAuto
and hlDelay
inputs from HighlightDirective, but they are still usable in HighlightUmdDirective
Update HighlightModule
parameter:
before:
HighlightModule.forRoot('monokai-sublime', 'assets/js/highlight-js');
after
HighlightModule.forRoot({
theme: 'monokai-sublime',
path: 'assets/js/highlight-js',
auto: true
});
Changelog
1.0.0