Terminal
papa README.md docs/
papa docs/ --max-grade 10
papa post.md --report html -o report.html
Exit code 1 when a file is harder than your max grade. Exit code 0 for findings alone.
A readability linter for Markdown and plain text
Papa grades each page of your docs the way the Hemingway editor does. It marks hard sentences, passive voice, adverbs, and wordy phrases, in your terminal and on every pull request.
pipx install papa-lint
Paste a README or a paragraph. Papa runs in this tab, so your text never leaves the browser.
-
papa README.md docs/
papa docs/ --max-grade 10
papa post.md --report html -o report.html
Exit code 1 when a file is harder than your max grade. Exit code 0 for findings alone.
- uses: bharadwaj-pendyala/papa@v0
with:
paths: README.md docs/
max-grade: 10
comment: true
Annotations on the diff, a job summary, and one PR comment that stays current.
- repo: https://github.com/bharadwaj-pendyala/papa
rev: v0.2.3
hooks:
- id: papa
Set max-grade in papa.toml to block hard commits.
papa draft.md --report json
Offsets, lines, and a fix hint for each finding, so an agent can rewrite until the grade passes.