@analogjs/content
Version:
Content Rendering for Analog
14 lines (13 loc) • 561 B
TypeScript
import { ContentRenderer, TableOfContentItem } from './content-renderer';
import * as i0 from "@angular/core";
export declare class MarkdownContentRendererService implements ContentRenderer {
#private;
render(content: string): Promise<string>;
/**
* The method is meant to be called after `render()`
*/
getContentHeadings(): TableOfContentItem[];
enhance(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownContentRendererService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<MarkdownContentRendererService>;
}