@karmaniverous/jeeves
    Preparing search index...

    Function removeManagedBlock

    • Remove the managed block from file content, keeping user content.

      Parameters

      • fileContent: string

        Existing file content.

      • markers: Pick<ManagedMarkers, "begin" | "end">

        Marker set.

      Returns string

      The new file content (unchanged if no block is present).