@wdprlib/parser
    Preparing search index...
    • Iteratively expand all [[include]] directives in source text.

      Each iteration replaces every include directive in the current source with its fetched content after variable substitution. No recursion into individual includes: the next iteration handles nested includes.

      Parameters

      • source: string
      • fetcher: IncludeFetcher
      • maxIterations: number
      • maxLength: number

      Returns string