Options: {
    debug: Debugger | undefined;
    elementsToSplit: Readonly<Set<string>>;
    lineClass: string;
}

Configurable behaviour.

Type declaration

  • debug: Debugger | undefined

    A logging function like the one from the debug module.

  • elementsToSplit: Readonly<Set<string>>

    Search for an element from this list under the pre.

  • lineClass: string

    The class to apply to each line’s span. -content will be appended for the contents.