Skip to main content

parse_issue

Function parse_issue 

Source
pub fn parse_issue(raw: &str, path: Option<PathBuf>) -> Result<Issue>
Expand description

Parse a markdown-with-frontmatter file into an Issue.

Format:

---
<yaml>
---
<markdown body>

A missing closing delimiter is treated as “the rest is body”. Missing frontmatter entirely yields an empty meta (caller decides whether that’s an error).