@analogjs/content
Version:
Content Rendering for Analog
16 lines (12 loc) • 598 B
TypeScript
import * as i0 from '@angular/core';
import { Provider } from '@angular/core';
import * as marked from 'marked';
import { MarkedContentHighlighter } from '@analogjs/content';
declare class PrismHighlighter extends MarkedContentHighlighter {
augmentCodeBlock(code: string, lang: string): string;
getHighlightExtension(): marked.MarkedExtension;
static ɵfac: i0.ɵɵFactoryDeclaration<PrismHighlighter, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PrismHighlighter>;
}
declare function withPrismHighlighter(): Provider[];
export { PrismHighlighter, withPrismHighlighter };