contentlayerdev / contentlayerdev/contentlayer

validation for markdown content?

Open
#314 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
3.5k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

I love the idea of validation for a doc's fields (frontmatter). I'm wondering if there is a way to validate a doc's body as well?

Contributor guide

Open the contributing guide

Research direction

The issue mentions Contentlayer's TypeScript implementation and frontmatter validation, but names no file, test, or entry point. First inspect how frontmatter validation is exposed and determine what body validation should cover; done requires an agreed validation approach for document bodies.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, typescript
Domain
content
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.