Quick Start¶
Your First Analysis¶
Run readability on a directory:
Output:
┌─────────────────────────┬───────┬───────────┬─────────┐
│ File │ Grade │ Flesch │ Status │
├─────────────────────────┼───────┼───────────┼─────────┤
│ docs/index.md │ 8.2 │ 62.5 │ pass │
│ docs/getting-started.md │ 10.1 │ 55.3 │ pass │
│ docs/api-reference.md │ 14.5 │ 38.2 │ fail │
└─────────────────────────┴───────┴───────────┴─────────┘
Output Formats¶
Markdown¶
JSON¶
Summary¶
Check Mode¶
Fail if thresholds are exceeded:
Exit code 1 if any file exceeds grade level 12.
Configuration File¶
Create .content-analyzer.yml:
Then run without flags: