ngx-highlightjs
Advanced tools
Comparing version 4.0.0-beta.4 to 4.0.0
@@ -318,4 +318,2 @@ (function (global, factory) { | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.r; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.second_best; | ||
@@ -322,0 +320,0 @@ /** @type {?|undefined} */ |
@@ -168,2 +168,2 @@ /** | ||
export { ɵ0 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LmxvYWRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1oaWdobGlnaHRqcy8iLCJzb3VyY2VzIjpbImxpYi9oaWdobGlnaHQubG9hZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxXQUFXLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsZUFBZSxFQUFjLElBQUksRUFBRSxLQUFLLEVBQUUsR0FBRyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxVQUFVLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQy9FLE9BQU8sRUFBRSxpQkFBaUIsRUFBc0MsTUFBTSxtQkFBbUIsQ0FBQzs7Ozs7QUFNMUYsTUFBTSxPQUFPLGVBQWU7Ozs7OztJQVExQixZQUE4QixHQUFRLEVBQ0wsVUFBa0IsRUFDUSxRQUEwQjtRQUExQixhQUFRLEdBQVIsUUFBUSxDQUFrQjs7UUFScEUsV0FBTSxHQUFHLElBQUksZUFBZSxDQUFDLElBQ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ZhdWx0Vmlldy5obGpzID0gaGxqcztcclxuICAgICAgICAgICAgLy8gTG9hZCBsaW5lIG51bWJlcnMgbGlicmFyeVxyXG4gICAgICAgICAgICByZXR1cm4gbG9hZExpbmVOdW1iZXJzKCkucGlwZSh0YXAoKCkgPT4gdGhpcy5fcmVhZHkubmV4dChobGpzKSkpO1xyXG4gICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5fcmVhZHkubmV4dChobGpzKTtcclxuICAgICAgICAgICAgcmV0dXJuIEVNUFRZO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGNhdGNoRXJyb3IoKGU6IGFueSkgPT4ge1xyXG4gICAgICAgICAgY29uc29sZS5lcnJvcignVW5hYmxlIHRvIGxvYWQgaGxqcyBsaWJyYXJ5JywgZSk7XHJcbiAgICAgICAgICByZXR1cm4gRU1QVFk7XHJcbiAgICAgICAgfSlcclxuICAgICAgKS5zdWJzY3JpYmUoKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIExhenktTG9hZCBoaWdobGlnaHQuanMgbGlicmFyeVxyXG4gICAqL1xyXG4gIHByaXZhdGUgX2xvYWRMaWJyYXJ5KCk6IE9ic2VydmFibGU8YW55PiB7XHJcbiAgICByZXR1cm4gKHRoaXMuX29wdGlvbnMgJiYgdGhpcy5fb3B0aW9ucy5sYW5ndWFnZXMgJiYgT2JqZWN0LmtleXModGhpcy5fb3B0aW9ucy5sYW5ndWFnZXMpLmxlbmd0aClcclxuICAgICAgPyBmcm9tKGxvYWRDb3JlTGlicmFyeSgpKS5waXBlKHN3aXRjaE1hcCgoaGxqczogSGlnaGxpZ2h0TGlicmFyeSkgPT4gdGhpcy5fbG9hZExhbmd1YWdlcyhobGpzKSkpXHJcbiAgICAgIDogZnJvbShsb2FkQWxsTGlicmFyeSgpKTtcclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIExhenktbG9hZCBoaWdobGlnaH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UgbnVtYmVycyBsaWJyYXJ5XHJcbiAqL1xyXG5mdW5jdGlvbiBsb2FkTGluZU51bWJlcnMoKTogT2JzZXJ2YWJsZTxhbnk+IHtcclxuICByZXR1cm4gaW1wb3J0TW9kdWxlKGltcG9ydCgnaGlnaGxpZ2h0anMtbGluZS1udW1iZXJzLmpzJykpO1xyXG59XHJcblxyXG4vKipcclxuICogTWFwIGxvYWRlciByZXNwb25zZSB0byBtb2R1bGUgb2JqZWN0XHJcbiAqL1xyXG5jb25zdCBpbXBvcnRNb2R1bGUgPSAobW9kdWxlTG9hZGVyOiBQcm9taXNlPGFueT4pOiBPYnNlcnZhYmxlPGFueT4gPT4ge1xyXG4gIHJldHVybiBmcm9tKG1vZHVsZUxvYWRlcikucGlwZShcclxuICAgIGZpbHRlcigobW9kdWxlOiBhbnkpID0+ICEhbW9kdWxlICYmICEhbW9kdWxlLmRlZmF1bHQpLFxyXG4gICAgbWFwKChtb2R1bGU6IGFueSkgPT4gbW9kdWxlLmRlZmF1bHQpXHJcbiAgKTtcclxufTtcclxuIl19 |
@@ -116,4 +116,2 @@ /** | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.r; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.second_best; | ||
@@ -139,2 +137,2 @@ /** @type {?|undefined} */ | ||
export const HIGHLIGHT_OPTIONS = new InjectionToken('HIGHLIGHT_OPTIONS'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0Lm1vZGVsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWhpZ2hsaWdodGpzLyIsInNvdXJjZXMiOlsibGliL2hpZ2hsaWdodC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUUvQyxzQ0F5RUM7Ozs7Ozs7Ozs7OztJQT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/common/http'; | ||
// import { HighlightModule } from '../../src/lib/highlight.module'; | ||
import { HighlightModule } from 'ngx-highlightjs'; | ||
// Uncomment the following line for development | ||
// import { HighlightModule } from '../../src/public-api'; | ||
import { GistFilePipe, GistDirective } from './gist'; | ||
@@ -33,2 +34,2 @@ import { CodeFromUrlPipe } from './code-from-url'; | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LXBsdXMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWhpZ2hsaWdodGpzL3BsdXMvIiwic291cmNlcyI6WyJoaWdobGlnaHQtcGx1cy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRXhELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsWUFBWSxFQUFFLGFBQWEsRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUNyRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFtQmxELE1BQU0sT0FBTyxtQkFBbUI7OztZQWpCL0IsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRTtvQkFDUCxlQUFlO29CQUNmLGdCQUFnQjtpQkFDakI7Z0JBQ0QsWUFBWSxFQUFFO29CQUNaLGFBQWE7b0JBQ2IsWUFBWTtvQkFDWixlQUFlO2lCQUNoQjtnQkFDRCxPQUFPLEVBQUU7b0JBQ1AsZUFBZTtvQkFDZixhQUFhO29CQUNiLFlBQVk7b0JBQ1osZUFBZTtpQkFDaEI7YUFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0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WV3LmhsanMpO1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgLy8gTG9hZCBobGpzIGxpYnJhcnlcclxuICAgICAgdGhpcy5fbG9hZExpYnJhcnkoKS5waXBlKFxyXG4gICAgICAgIHN3aXRjaE1hcCgoaGxqczogSGlnaGxpZ2h0TGlicmFyeSkgPT4ge1xyXG4gICAgICAgICAgaWYgKHRoaXMuX29wdGlvbnMgJiYgdGhpcy5fb3B0aW9ucy5saW5lTnVtYmVycykge1xyXG4gICAgICAgICAgICAvLyBNYWtlIGhsanMgYXZhaWxhYmxlIG9uIHdpbmRvdyBvYmplY3QgKHJlcXVpcmVkIGZvciB0aGUgbGluZSBudW1iZXJzIGxpYnJhcnkpXHJcbiAgICAgICAgICAgIGRvYy5kZWZhdWx0Vmlldy5obGpzID0gaGxqcztcclxuICAgICAgICAgICAgLy8gTG9hZCBsaW5lIG51bWJlcnMgbGlicmFyeVxyXG4gICAgICAgICAgICByZXR1cm4gbG9hZExpbmVOdW1iZXJzKCkucGlwZSh0YXAoKCkgPT4gdGhpcy5fcmVhZHkubmV4dChobGpzKSkpO1xyXG4gICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5fcmVhZHkubmV4dChobGpzKTtcclxuICAgICAgICAgICAgcmV0dXJuIEVNUFRZO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGNhdGNoRXJyb3IoKGU6IGFueSkgPT4ge1xyXG4gICAgICAgICAgY29uc29sZS5lcnJvcignVW5hYmxlIHRvIGxvYWQgaGxqcyBsaWJyYXJ5JywgZSk7XHJcbiAgICAgICAgICByZXR1cm4gRU1QVFk7XHJcbiAgICAgICAgfSlcclxuICAgICAgKS5zdWJzY3JpYmUoKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIExhenktTG9hZCBoaWdobGlnaHQuanMgbGlicmFyeVxyXG4gICAqL1xyXG4gIHByaXZhdGUgX2xvYWRMaW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ID0+IHtcclxuICByZXR1cm4gZnJvbShtb2R1bGVMb2FkZXIpLnBpcGUoXHJcbiAgICBmaWx0ZXIoKG1vZHVsZTogYW55KSA9PiAhIW1vZHVsZSAmJiAhIW1vZHVsZS5kZWZhdWx0KSxcclxuICAgIG1hcCgobW9kdWxlOiBhbnkpID0+IG1vZHVsZS5kZWZhdWx0KVxyXG4gICk7XHJcbn07XHJcbiJdfQ== |
@@ -116,4 +116,2 @@ /** | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.r; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.second_best; | ||
@@ -139,2 +137,2 @@ /** @type {?|undefined} */ | ||
export var HIGHLIGHT_OPTIONS = new InjectionToken('HIGHLIGHT_OPTIONS'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0Lm1vZGVsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWhpZ2hsaWdodGpzLyIsInNvdXJjZXMiOlsibGliL2hpZ2hsaWdodC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUUvQyxzQ0F5RUM7Ozs7Ozs7Ozs7OztJQTlEQyxpR0FBc0c7Ozs7Ozs7O0lBUXRHLGdGQUF3RTs7Ozs7Ozs7SUFReEUsNERBQWlDOzs7Ozs7OztJQVFqQyxpRUFBeUM7Ozs7OztJQU16Qyw2REFBeUM7Ozs7O0lBS3pDLDhEQUF5Qjs7Ozs7Ozs7SUFRekIsNEVBQTBEOzs7O0lBSzFELDJEQUEwQjs7Ozs7O0lBTzFCLDZEQUErQjs7Ozs7O0lBTS9CLGdFQUFvQzs7Ozs7QUFHdEMscUNBU0M7Ozs7OztJQVBDLHFDQUFvQjs7Ozs7SUFFcEIsZ0NBQWdCOzs7OztJQUVoQixzQ0FBcUI7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BhbiBhcnJheSBvZiBsYW5ndWFnZSBuYW1lcyBhbmQgYWxpYXNlcyByZXN0cmljdGluZyBhdXRvIGRldGVjdGlvbiB0byBvbmx5IHRoZXNlIGxhbmd1YWdlcy4gKi9cclxuICBsYW5ndWFnZXM/OiBzdHJpbmdbXTtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBIaWdobGlnaHRSZXN1bHQge1xyXG4gIGxhbmd1YWdlPzogc3RyaW5nO1xyXG4gIHNlY29uZF9iZXN0PzogYW55O1xyXG4gIHRvcD86IGFueTtcclxuICB2YWx1ZT86IHN0cmluZztcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBIaWdobGlnaHRPcHRpb25zIHtcclxuICBjb25maWc/OiBIaWdobGlnaHRDb25maWc7XHJcbiAgbGFuZ3VhZ2VzPzogeyBbbmFtZTogc3RyaW5nXTogKCkgPT4gUHJvbWlzZTxhbnk+IH07XHJcbiAgbGluZU51bWJlcnM/OiBib29sZWFuO1xyXG59XHJcblxyXG5leHBvcnQgY29uc3QgSElHSExJR0hUX09QVElPTlMgPSBuZXcgSW5qZWN0aW9uVG9rZW48SGlnaGxpZ2h0T3B0aW9ucz4oJ0hJR0hMSUdIVF9PUFRJT05TJyk7XHJcbiJdfQ== |
@@ -7,4 +7,5 @@ /** | ||
import { HttpClientModule } from '@angular/common/http'; | ||
// import { HighlightModule } from '../../src/lib/highlight.module'; | ||
import { HighlightModule } from 'ngx-highlightjs'; | ||
// Uncomment the following line for development | ||
// import { HighlightModule } from '../../src/public-api'; | ||
import { GistFilePipe, GistDirective } from './gist'; | ||
@@ -37,2 +38,2 @@ import { CodeFromUrlPipe } from './code-from-url'; | ||
export { HighlightPlusModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LXBsdXMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWhpZ2hsaWdodGpzL3BsdXMvIiwic291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GllbnRNb2R1bGVcclxuICBdLFxyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgR2lzdERpcmVjdGl2ZSxcclxuICAgIEdpc3RGaWxlUGlwZSxcclxuICAgIENvZGVGcm9tVXJsUGlwZVxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgSGlnaGxpZ2h0TW9kdWxlLFxyXG4gICAgR2lzdERpcmVjdGl2ZSxcclxuICAgIEdpc3RGaWxlUGlwZSxcclxuICAgIENvZGVGcm9tVXJsUGlwZVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEhpZ2hsaWdodFBsdXNNb2R1bGUge1xyXG59XHJcbiJdfQ== |
@@ -120,4 +120,2 @@ import { InjectionToken, Injectable, Inject, PLATFORM_ID, Optional, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Directive, ElementRef, Input, Output, NgModule } from '@angular/core'; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.r; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.second_best; | ||
@@ -124,0 +122,0 @@ /** @type {?|undefined} */ |
@@ -121,4 +121,2 @@ import { InjectionToken, Injectable, Inject, PLATFORM_ID, Optional, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Directive, ElementRef, Input, Output, NgModule } from '@angular/core'; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.r; | ||
/** @type {?|undefined} */ | ||
HighlightResult.prototype.second_best; | ||
@@ -125,0 +123,0 @@ /** @type {?|undefined} */ |
@@ -78,3 +78,2 @@ import { InjectionToken } from '@angular/core'; | ||
language?: string; | ||
r?: number; | ||
second_best?: any; | ||
@@ -81,0 +80,0 @@ top?: any; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"Highlight":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":15,"character":1},"arguments":[{"host":{"[class.hljs]":"true","$quoted$":["[class.hljs]"]},"selector":"[highlight]"}]}],"members":{"code":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3},"arguments":["highlight"]}]}],"languages":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"lineNumbers":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"highlighted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":44,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":27},"arguments":[{"__symbolic":"reference","name":"HIGHLIGHT_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":42,"character":18},{"__symbolic":"reference","name":"HighlightJS"},{"__symbolic":"reference","name":"HighlightOptions"}]}],"ngOnChanges":[{"__symbolic":"method"}],"highlightElement":[{"__symbolic":"method"}],"addLineNumbers":[{"__symbolic":"method"}],"destroyLineNumbersObserver":[{"__symbolic":"method"}],"setCode":[{"__symbolic":"method"}]}},"HighlightLibrary":{"__symbolic":"interface"},"HighlightConfig":{"__symbolic":"interface"},"HighlightResult":{"__symbolic":"interface"},"HighlightOptions":{"__symbolic":"interface"},"HIGHLIGHT_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":102,"character":37},"arguments":["HIGHLIGHT_OPTIONS"]},"HighlightModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"Highlight"}],"exports":[{"__symbolic":"reference","name":"Highlight"}]}]}],"members":{}},"HighlightJS":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":18,"character":49}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":61},"arguments":[{"__symbolic":"reference","name":"HIGHLIGHT_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"HighlightLoader"},{"__symbolic":"reference","name":"HighlightOptions"}]}],"highlight":[{"__symbolic":"method"}],"highlightAuto":[{"__symbolic":"method"}],"fixMarkup":[{"__symbolic":"method"}],"highlightBlock":[{"__symbolic":"method"}],"configure":[{"__symbolic":"method"}],"initHighlighting":[{"__symbolic":"method"}],"registerLanguage":[{"__symbolic":"method"}],"listLanguages":[{"__symbolic":"method"}],"getLanguage":[{"__symbolic":"method"}],"lineNumbersBlock":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"HighlightLoader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":18,"character":22}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":19,"character":22}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":20,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":27},"arguments":[{"__symbolic":"reference","name":"HIGHLIGHT_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":19,"character":47,"module":"./lib/highlight.loader"},{"__symbolic":"reference","name":"HighlightOptions"}]}],"_loadLibrary":[{"__symbolic":"method"}],"_loadLanguages":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"Highlight":"./lib/highlight","HighlightLibrary":"./lib/highlight.model","HighlightConfig":"./lib/highlight.model","HighlightResult":"./lib/highlight.model","HighlightOptions":"./lib/highlight.model","HIGHLIGHT_OPTIONS":"./lib/highlight.model","HighlightModule":"./lib/highlight.module","HighlightJS":"./lib/highlight.service","HighlightLoader":"./lib/highlight.loader"},"importAs":"ngx-highlightjs"} | ||
{"__symbolic":"module","version":4,"metadata":{"Highlight":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":15,"character":1},"arguments":[{"host":{"[class.hljs]":"true","$quoted$":["[class.hljs]"]},"selector":"[highlight]"}]}],"members":{"code":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3},"arguments":["highlight"]}]}],"languages":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"lineNumbers":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"highlighted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":44,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":27},"arguments":[{"__symbolic":"reference","name":"HIGHLIGHT_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":42,"character":18},{"__symbolic":"reference","name":"HighlightJS"},{"__symbolic":"reference","name":"HighlightOptions"}]}],"ngOnChanges":[{"__symbolic":"method"}],"highlightElement":[{"__symbolic":"method"}],"addLineNumbers":[{"__symbolic":"method"}],"destroyLineNumbersObserver":[{"__symbolic":"method"}],"setCode":[{"__symbolic":"method"}]}},"HighlightLibrary":{"__symbolic":"interface"},"HighlightConfig":{"__symbolic":"interface"},"HighlightResult":{"__symbolic":"interface"},"HighlightOptions":{"__symbolic":"interface"},"HIGHLIGHT_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":101,"character":37},"arguments":["HIGHLIGHT_OPTIONS"]},"HighlightModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"Highlight"}],"exports":[{"__symbolic":"reference","name":"Highlight"}]}]}],"members":{}},"HighlightJS":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":18,"character":49}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":61},"arguments":[{"__symbolic":"reference","name":"HIGHLIGHT_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"HighlightLoader"},{"__symbolic":"reference","name":"HighlightOptions"}]}],"highlight":[{"__symbolic":"method"}],"highlightAuto":[{"__symbolic":"method"}],"fixMarkup":[{"__symbolic":"method"}],"highlightBlock":[{"__symbolic":"method"}],"configure":[{"__symbolic":"method"}],"initHighlighting":[{"__symbolic":"method"}],"registerLanguage":[{"__symbolic":"method"}],"listLanguages":[{"__symbolic":"method"}],"getLanguage":[{"__symbolic":"method"}],"lineNumbersBlock":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"HighlightLoader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":18,"character":22}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":19,"character":22}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":20,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":27},"arguments":[{"__symbolic":"reference","name":"HIGHLIGHT_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":19,"character":47,"module":"./lib/highlight.loader"},{"__symbolic":"reference","name":"HighlightOptions"}]}],"_loadLibrary":[{"__symbolic":"method"}],"_loadLanguages":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"Highlight":"./lib/highlight","HighlightLibrary":"./lib/highlight.model","HighlightConfig":"./lib/highlight.model","HighlightResult":"./lib/highlight.model","HighlightOptions":"./lib/highlight.model","HIGHLIGHT_OPTIONS":"./lib/highlight.model","HighlightModule":"./lib/highlight.module","HighlightJS":"./lib/highlight.service","HighlightLoader":"./lib/highlight.loader"},"importAs":"ngx-highlightjs"} |
{ | ||
"name": "ngx-highlightjs", | ||
"version": "4.0.0-beta.4", | ||
"version": "4.0.0", | ||
"description": "Instant code highlighting, auto-detect language, super easy to use.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/murhafsousli/ngx-highlightjs", |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"HighlightPlusModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"ngx-highlightjs","name":"HighlightModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":10,"character":4}],"declarations":[{"__symbolic":"reference","name":"GistDirective"},{"__symbolic":"reference","name":"GistFilePipe"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","module":"ngx-highlightjs","name":"HighlightModule","line":18,"character":4},{"__symbolic":"reference","name":"GistDirective"},{"__symbolic":"reference","name":"GistFilePipe"},{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"GistOptions":{"__symbolic":"interface"},"GIST_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":32},"arguments":["GIST_OPTIONS"]},"Gist":{"__symbolic":"interface"},"GistDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[gist]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"gist":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"gistLoad":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":19,"character":3}}]}]}},"GistFilePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":22,"character":1},"arguments":[{"name":"gistFile"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":10,"character":42}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":10,"character":54},"arguments":[{"__symbolic":"reference","name":"GIST_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":10,"character":29},{"__symbolic":"reference","name":"GistOptions"}]}],"getCodeFromGist":[{"__symbolic":"method"}],"getCodeFromUrl":[{"__symbolic":"method"}],"isOAuthProvided":[{"__symbolic":"method"}],"fetchFile":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"codeFromUrl"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"transform":[{"__symbolic":"method"}]}}},"origins":{"HighlightPlusModule":"./highlight-plus.module","GistOptions":"./gist.model","GIST_OPTIONS":"./gist.model","Gist":"./gist.model","GistDirective":"./gist","GistFilePipe":"./gist","ɵa":"./code-loader","ɵb":"./code-from-url"},"importAs":"ngx-highlightjs/plus"} | ||
{"__symbolic":"module","version":4,"metadata":{"HighlightPlusModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"ngx-highlightjs","name":"HighlightModule","line":10,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":11,"character":4}],"declarations":[{"__symbolic":"reference","name":"GistDirective"},{"__symbolic":"reference","name":"GistFilePipe"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","module":"ngx-highlightjs","name":"HighlightModule","line":19,"character":4},{"__symbolic":"reference","name":"GistDirective"},{"__symbolic":"reference","name":"GistFilePipe"},{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"GistOptions":{"__symbolic":"interface"},"GIST_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":32},"arguments":["GIST_OPTIONS"]},"Gist":{"__symbolic":"interface"},"GistDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[gist]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"gist":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"gistLoad":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":19,"character":3}}]}]}},"GistFilePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":22,"character":1},"arguments":[{"name":"gistFile"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":10,"character":42}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":10,"character":54},"arguments":[{"__symbolic":"reference","name":"GIST_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":10,"character":29},{"__symbolic":"reference","name":"GistOptions"}]}],"getCodeFromGist":[{"__symbolic":"method"}],"getCodeFromUrl":[{"__symbolic":"method"}],"isOAuthProvided":[{"__symbolic":"method"}],"fetchFile":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"codeFromUrl"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"transform":[{"__symbolic":"method"}]}}},"origins":{"HighlightPlusModule":"./highlight-plus.module","GistOptions":"./gist.model","GIST_OPTIONS":"./gist.model","Gist":"./gist.model","GistDirective":"./gist","GistFilePipe":"./gist","ɵa":"./code-loader","ɵb":"./code-from-url"},"importAs":"ngx-highlightjs/plus"} |
212
README.md
@@ -6,10 +6,10 @@ <p align="center"> | ||
[![npm](https://img.shields.io/badge/demo-online-ed1c46.svg)](https://murhafsousli.github.io/ngx-highlightjs/) | ||
[![npm](https://img.shields.io/badge/stackblitz-online-orange.svg)](https://stackblitz.com/edit/ngx-highlightjs) | ||
[![Demo](https://img.shields.io/badge/demo-online-ed1c46.svg)](https://ngx-highlight.netlify.com/) | ||
[![Stackblitz](https://img.shields.io/badge/stackblitz-online-orange.svg)](https://stackblitz.com/edit/ngx-highlightjs) | ||
[![npm](https://img.shields.io/npm/v/ngx-highlightjs.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/package/ngx-highlightjs) | ||
[![Build Status](https://travis-ci.org/MurhafSousli/ngx-highlightjs.svg?branch=master)](https://www.npmjs.com/package/ngx-highlightjs) | ||
[![npm](https://img.shields.io/npm/dt/ngx-highlightjs.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/package/ngx-highlightjs) | ||
[![npm](https://img.shields.io/npm/dm/ngx-highlightjs.svg)](https://www.npmjs.com/package/ngx-highlightjs) | ||
[![Build Status](https://travis-ci.org/MurhafSousli/ngx-highlightjs.svg?branch=master)](https://travis-ci.org/MurhafSousli/ngx-highlightjs) | ||
[![Downloads](https://img.shields.io/npm/dt/ngx-highlightjs.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/package/ngx-highlightjs) | ||
[![Monthly Downloads](https://img.shields.io/npm/dm/ngx-highlightjs.svg)](https://www.npmjs.com/package/ngx-highlightjs) | ||
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/ngx-highlightjs.svg)](https://bundlephobia.com/result?p=ngx-highlightjs) | ||
[![npm](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](/LICENSE) | ||
[![License](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](/LICENSE) | ||
@@ -21,3 +21,3 @@ Instant code highlighting, auto-detect language, super easy to use | ||
- [Live Demo](https://MurhafSousli.github.io/ngx-highlightjs/) | [Stackblitz](https://stackblitz.com/edit/ngx-highlightjs) | ||
- [Live Demo](https://ngx-highlight.netlify.com/) | [Stackblitz](https://stackblitz.com/edit/ngx-highlightjs) | ||
- [Installation](#installation) | ||
@@ -34,14 +34,8 @@ - [Usage](#usage) | ||
**NPM** | ||
Install with **NPM** | ||
```bash | ||
$ npm install -S ngx-highlightjs highlight.js | ||
npm i ngx-highlightjs | ||
``` | ||
**YARN** | ||
```bash | ||
$ yarn add ngx-highlightjs highlight.js | ||
``` | ||
<a name="usage"/> | ||
@@ -51,31 +45,10 @@ | ||
### OPTION 1: Import `HighlightModule` in the root module | ||
### Import `HighlightModule` in your app | ||
> Note: this will include the whole library in your main bundle | ||
```ts | ||
```typescript | ||
import { HighlightModule } from 'ngx-highlightjs'; | ||
import xml from 'highlight.js/lib/languages/xml'; | ||
import scss from 'highlight.js/lib/languages/scss'; | ||
import typescript from 'highlight.js/lib/languages/typescript'; | ||
/** | ||
* Import every language you wish to highlight here | ||
* NOTE: The name of each language must match the file name its imported from | ||
*/ | ||
export function hljsLanguages() { | ||
return [ | ||
{name: 'typescript', func: typescript}, | ||
{name: 'scss', func: scss}, | ||
{name: 'xml', func: xml} | ||
]; | ||
} | ||
@NgModule({ | ||
imports: [ | ||
// ... | ||
HighlightModule.forRoot({ | ||
languages: hljsLanguages | ||
}) | ||
HighlightModule | ||
] | ||
@@ -86,31 +59,29 @@ }) | ||
`forRoot(options: HighlightOptions)` Accepts options parameter which have the following properties: | ||
> Note: By default this will lazy-load highlight.js bundle library including all languages. | ||
- **languages**: The set of languages to register. | ||
- **config**: Configures global options, see [configure-options](http://highlightjs.readthedocs.io/en/latest/api.html#configure-options). | ||
To avoid import everything from highlight.js library, you should import each language you want to highlight manually. | ||
### OPTION 2: Import `HighlightModule` in a feature module | ||
### Import highlighting languages | ||
You probably don't want to load this library in the root module, you can lazy load it by importing it in your feature module, however Highlight.js languages has to be registered in the root module | ||
To do so, use the injection token `HIGHLIGHT_OPTIONS` to provide options: | ||
```ts | ||
import { HighlightModule } from 'ngx-highlightjs'; | ||
```typescript | ||
import { HighlightModule, HIGHLIGHT_OPTIONS } from 'ngx-highlightjs'; | ||
import xml from 'highlight.js/lib/languages/xml'; | ||
import scss from 'highlight.js/lib/languages/scss'; | ||
import typescript from 'highlight.js/lib/languages/typescript'; | ||
/** | ||
* Import every language you wish to highlight here | ||
* NOTE: The name of each language must match the file name its imported from | ||
* Import specific languages to avoid importing everything | ||
* The following will lazy load highlight.js core script (~9.6KB) + the selected languages bundle (each lang. ~1kb) | ||
*/ | ||
export function hljsLanguages() { | ||
return [ | ||
{name: 'typescript', func: typescript}, | ||
{name: 'scss', func: scss}, | ||
{name: 'xml', func: xml} | ||
]; | ||
export function getHighlightLanguages() { | ||
return { | ||
typescript: () => import('highlight.js/lib/languages/typescript'), | ||
css: () => import('highlight.js/lib/languages/css'), | ||
xml: () => import('highlight.js/lib/languages/xml') | ||
}; | ||
} | ||
@NgModule({ | ||
imports: [ | ||
HighlightModule | ||
], | ||
providers: [ | ||
@@ -120,24 +91,15 @@ { | ||
useValue: { | ||
languages: hljsLanguages, | ||
config: { ... } // <= Optional | ||
languages: getHighlightLanguages() | ||
} | ||
} | ||
] | ||
], | ||
}) | ||
export class AppModule { } | ||
export class AppModule { | ||
} | ||
``` | ||
After Highlight.js languages are registered, just import `HighlightModule` in the feature module | ||
- **languages**: The set of languages to register. | ||
- **lineNumber**: Lazy-load lines numbers library which adds line numbers to the highlighted code element. | ||
- **config**: Set highlight.js config, see [configure-options](http://highlightjs.readthedocs.io/en/latest/api.html#configure-options). | ||
```ts | ||
@NgModule({ | ||
imports: [ | ||
// ... | ||
HighlightModule | ||
] | ||
}) | ||
export class FeatureModule { } | ||
``` | ||
### Import highlighting theme | ||
@@ -160,32 +122,13 @@ | ||
You can also lazy load the theme by importing it in your lazy loaded component stylesheet | ||
```ts | ||
import { Component, ViewEncapsulation } from '@angular/core'; | ||
@Component({ | ||
selector: 'lazy-loaded', | ||
templateUrl: './lazy-loaded.component.html', | ||
styleUrls: [` | ||
@import '~highlight.js/styles/github.css'; | ||
`], | ||
encapsulation: ViewEncapsulation.None // <= Add this | ||
}) | ||
export class LazyLoadedComponent { | ||
} | ||
``` | ||
> Note: if you have multiple components that use `HighlightModule`, then it is better to import the theme in the global styles `src/styles.css` | ||
_[List of all available themes from highlight.js](https://github.com/isagalaev/highlight.js/tree/master/src/styles)_ | ||
## `highlight` directive | ||
### Use highlight directive | ||
Highlight host element | ||
The following line will highlight the given code and append it to the host element | ||
```html | ||
<pre><code [highlight]="someCode"></code></pre> | ||
<pre><code [highlight]="code"></code></pre> | ||
``` | ||
Check this [stackblitz](https://stackblitz.com/edit/ngx-highlightjs) | ||
[Demo stackblitz](https://stackblitz.com/edit/ngx-highlightjs) | ||
@@ -196,35 +139,69 @@ ## Options | ||
- **[languages]**: (string[]), an array of language names and aliases restricting auto detection to only these languages, default: `null` | ||
- **[languages]**: (string[]), An array of language names and aliases restricting auto detection to only these languages, default: `null` | ||
- **[lineNumbers]**: (boolean), A flag that indicates adding line numbers to highlighted code element | ||
- **(highlighted)**: Stream that emits `HighlightResult` object when element is highlighted. | ||
## `highlightChildren` directive | ||
## Plus package | ||
Highlight children code elements | ||
In version >= 4, a new sub-package were added with the following features: | ||
- Highlight gists using gists API | ||
- Highlight code directly from URL | ||
### Usage | ||
```typescript | ||
import { HighlightPlusModule } from 'ngx-highlightjs/plus'; | ||
@NgModule({ | ||
imports: [ | ||
HighlightPlusModule | ||
] | ||
}) | ||
export class AppModule { | ||
} | ||
``` | ||
### Highlight a gist file | ||
1. Use `[gist]` directive with the gist id to get the response through the output `(gistLoaded)`. | ||
2. Once `(gistLoaded)` emits, you will get access to the gist response. | ||
3. Use `gistContent` pipe to extract the file content from gist response using gist file name. | ||
**Example:** | ||
```html | ||
<!-- Highlight child elements with 'pre code' selector --> | ||
<div highlightChildren> | ||
<pre><code [textContent]="htmlCode"></code></pre> | ||
<pre><code [textContent]="tsCode"></code></pre> | ||
<pre><code [textContent]="cssCode"></code></pre> | ||
</div> | ||
<pre [gist]="gistId" (gistLoaded)="gist = $event"> | ||
<code [highlight]="gist | gistContent: 'main.js'"></code> | ||
</pre> | ||
``` | ||
Check this [stackblitz](https://stackblitz.com/edit/ngx-highlightjs-children) | ||
### Highlight all gist files | ||
- Highlight children custom elements by selector | ||
To loop over `gist?.files`, use `keyvalue` pipe to pass file name into `gistContent` pipe. | ||
**Example:** | ||
```html | ||
<!-- Highlight child elements with custom selector --> | ||
<div highlightChildren="section p"> | ||
<section><p [textContent]="pythonCode"></p></section> | ||
<section><p [textContent]="swiftCode"></p></section> | ||
</div> | ||
<ng-container [gist]="gistId" (gistLoaded)="gist = $event"> | ||
<pre *ngFor="let file of gist?.files | keyvalue"> | ||
<code [highlight]="gist | gistContent: file.key"></code> | ||
</pre> | ||
</ng-container> | ||
``` | ||
## `HighlightJS` service | ||
### Highlight code from URL directly | ||
Use this service if you wish to access the [Official HighlightJS API](http://highlightjs.readthedocs.io/en/latest/api.html#). | ||
Use the pipe `codeFromUrl` with the `async` pipe together to get the code text from a raw URL. | ||
**Example:** | ||
```html | ||
<pre> | ||
<code [highlight]="codeUrl | codeFromUrl | async"></code> | ||
</pre> | ||
``` | ||
<a name="development"/> | ||
@@ -237,3 +214,3 @@ | ||
```bash | ||
$ ng build ngx-highlightjs --prod | ||
$ ng build ngx-highlightjs | ||
``` | ||
@@ -260,2 +237,3 @@ | ||
- [ngx-scrollbar](https://github.com/MurhafSousli/ngx-ngx-scrollbar) | ||
- [ngx-sharebuttons](https://github.com/MurhafSousli/ngx-sharebuttons) | ||
@@ -262,0 +240,0 @@ - [ngx-gallery](https://github.com/MurhafSousli/ngx-gallery) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
545263
6703
238