markmap
    Preparing search index...

    Interface ITransformPlugin

    interface ITransformPlugin {
        config?: markmap.IAssets & {
            preloadScripts?: JSItem[];
            resources?: string[];
            versions?: Record<string, string>;
        };
        name: string;
        transform: (transformHooks: markmap.ITransformHooks) => markmap.IAssets;
    }
    Index

    Properties

    config?: markmap.IAssets & {
        preloadScripts?: JSItem[];
        resources?: string[];
        versions?: Record<string, string>;
    }

    Type declaration

    • OptionalpreloadScripts?: JSItem[]

      For browsers only. Scripts that needs to be preloaded for the transformer to work.

    • Optionalresources?: string[]

      Additional resources needed for the plugin to work offline.

    • Optionalversions?: Record<string, string>
    name: string
    transform: (transformHooks: markmap.ITransformHooks) => markmap.IAssets

    Type declaration