Theia API Documentation v1.77.0
    Preparing search index...
    • Parse a string containing optional YAML frontmatter.

      Supports two layouts (in this order):

      1. Standard: starts with ---, YAML, then --- separator, then body.
      2. Legacy: starts directly with YAML, then --- separator, then body.

      The legacy form is preserved so existing on-disk files written by older Theia versions (e.g. task-context summaries) continue to parse without a migration step.

      Type Parameters

      • T = unknown

      Parameters

      Returns FrontmatterParseResult<T>