Interface ITransformHooks

interface ITransformHooks {
    afterParse: Hook<[md: MarkdownIt, context: ITransformContext]>;
    beforeParse: Hook<[md: MarkdownIt, context: ITransformContext]>;
    parser: Hook<[md: MarkdownIt]>;
    retransform: Hook<[]>;
    transformer: ITransformer;
}

Properties

afterParse: Hook<[md: MarkdownIt, context: ITransformContext]>

Tapped every time after Markdown content is parsed.

beforeParse: Hook<[md: MarkdownIt, context: ITransformContext]>

Tapped every time before Markdown content is parsed.

parser: Hook<[md: MarkdownIt]>

Tapped once when the parser is created.

retransform: Hook<[]>

Used in autoloader to force rerender when resource is loaded.

transformer: ITransformer