impasto
    Preparing search index...

    Interface CodeLoaderOptions

    Options for the code loader.

    interface CodeLoaderOptions {
        grammars: Grammar[];
        redact?: Record<string, RedactEntry>;
    }
    Index

    Properties

    Properties

    grammars: Grammar[]

    The grammars to use for highlighting code.

    redact?: Record<string, RedactEntry>

    How to redact sensitive information.

    The keys are the types of sensitive information, and the values define how to find and replace that information.