providerplaneai
    Preparing search index...
    • Removes an outer fenced-code wrapper from a markdown snippet.

      Providers frequently wrap JSON annotations or OCR side-channel output in fenced blocks; this helper strips only the outer fence so downstream parsing can operate on the actual payload.

      Parameters

      • value: string

        Markdown text that may contain a single fenced block.

      Returns string

      The unfenced payload text.