-
-
Notifications
You must be signed in to change notification settings - Fork 886
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Proposal
Create a custom markdownlint rule for detecting speciesist language in markdown documentation, suggesting clearer alternatives.
Context
markdownlint's custom rule system is well-suited for this kind of content-level check. Several similar tools already have speciesist language rules:
- woke — YAML config
- alex/retext-equality — YAML patterns
- Vale — style package
- ESLint — plugin for JS/TS
A markdownlint rule would complement these by integrating directly into the markdown-specific linting pipeline that many projects already use.
Examples
| Phrase in Docs | Suggested Alternative |
|---|---|
| "kill two birds with one stone" | "accomplish two things at once" |
| "beat a dead horse" | "belabor the point" |
| "guinea pig" (metaphor) | "test subject" |
| "cattle vs. pets" | "ephemeral vs. persistent" |
Implementation
This would work well as a custom rule (MD900-range) or a published npm package (markdownlint-rule-speciesism) that users can opt into. The rule would scan text content (not code blocks) for phrases and suggest alternatives.
Happy to contribute an implementation if the concept is welcome.
Academic Foundation
- Hagendorff et al. (2023). "Speciesist bias in AI." AI and Ethics.
- Leach et al. (2023). "Speciesism in everyday language." British Journal of Social Psychology.
Reactions are currently unavailable