Skip to content

proposal: custom rule for speciesist language detection in markdown #1982

@stuckvgn

Description

@stuckvgn

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions