UNPKG

@ng-doc/utils

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

19 lines (18 loc) 491 B
import { NgDocHeading, NgDocPageAnchor } from '@ng-doc/core'; export interface NgDocHtmlProcessorConfig { lightTheme?: string; darkTheme?: string; headings?: NgDocHeading[]; route?: string; } export interface NgDocHtmlProcessorOutput { content: string; anchors: NgDocPageAnchor[]; error?: unknown; } /** * * @param html * @param config */ export declare function processHtml(html: string, config: NgDocHtmlProcessorConfig): Promise<NgDocHtmlProcessorOutput>;