Trilium Backend API
    Preparing search index...
    • Parses a string into an array of DOM nodes. The context argument has no meaning for Cheerio, but it is maintained for API compatibility with jQuery.

      Parameters

      • this: CheerioAPI
      • data: string

        Markup that will be parsed.

      • Optionalcontext: unknown

        Will be ignored. If it is a boolean it will be used as the value of keepScripts.

      • OptionalkeepScripts: boolean

        If false all scripts will be removed.

      Returns AnyNode[]

      The parsed DOM.

      Cheerio.parseHTML

    • Parses a string into an array of DOM nodes. The context argument has no meaning for Cheerio, but it is maintained for API compatibility with jQuery.

      Parameters

      • this: CheerioAPI
      • Optionaldata: ""

        Markup that will be parsed.

      Returns null

      The parsed DOM.

      Cheerio.parseHTML