Preparing search index...

    Function extractImageFromJsonLd

    • Extracts image URL from JSON-LD schema in HTML

      Parses JSON-LD Recipe schema to find the recipe image URL. Skips placeholder images.

      Parameters

      • html: string

        The HTML content to parse

      Returns null | string

      The image URL or null if not found