contentlayerdev / contentlayerdev/contentlayer

Content sources as data processing pipelines

Đang mở
#159 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
topic: schema
Ngôn ngữ chính
TypeScript
Star
3.5k
Fork
192
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

_Note: This issue is WIP and needs to be expanded._

## Notes

- Differentiate between **input data** and **output data**
- Input data validation could be done via Zod
- Question: How do define the output schema? (based on the input schema)
- Other schema formats: #163
- #250
- Also see [this comment](https://github.com/contentlayerdev/contentlayer/issues/214#issuecomment-1170856380)
- This would also unlock #84
- Make it easy to let the user define what they want to access (e.g. pre-rendered HTML vs raw MD source)

### Markdown/MDX processing pipeline

- This could allow for a smoother unified/remark/rehype content processing integration
- #137

## Related

- #120
- #163
- #106
- #84
- #160
- #91
- #275
- #86
- #71
- #148
- #24
- #149
- #26
- #216
- #225
- #325
- [Private Notion doc](https://www.notion.so/schickling/Build-pipeline-explorations-8214b31765bb48b9814d4dfaad23dfe8)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.