Z506: MALFORMED_FRONTMATTER
Severity: error
Penalty: 5.0 points
Category: content
Auto-fixable: No
Rationale¶
This rule is triggered when the opening YAML frontmatter delimiter on line 1 of a file is malformed (such as using -- instead of ---), causing metadata directives to be parsed as raw body text.
How to Fix¶
Inspect the flagged location in the Markdown file and update the content or configuration:
Bad (Triggers Z506)¶
Good (Resolves Z506)¶
Configuration¶
Reference¶
See the Finding Codes Index for finding code details.