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 HTML. Resolves <html-include> directives via an include function provided in data.

      Parameters

      • content: string
      • data: any

      Returns Promise<string>

      processed HTML