Variable htmlPreprocessorConst
htmlPreprocessor: {
extension: RegExp;
name: string;
outputExtension: string;
process(content: string, data: any): Promise<string>;
} = ...
Type declaration
extension: RegExp
name: string
outputExtension: string
process:function
- process(content: string, data: any): Promise<string>
Returns Promise<string>
processed HTML
Process HTML. Resolves
<html-include>
directives via aninclude
function provided in data.