Table of Contents

Method Split

Namespace
Oscova.Agents.Persistence
Assembly
Oscova.Agents.dll

Split(string)

Splits a Markdown document into YAML frontmatter and body text.

public static (string Yaml, string Body) Split(string fileText)

Parameters

fileText string

Returns

(string Yaml, string Body)

Remarks

The closing fence is the first triple-dash line after the opener. A body containing a standalone triple-dash line before the real body content will be split there.