Skip to content

README: Add community plugin remark-lint-word-case#333

Closed
Bugg4 wants to merge 1 commit into
remarkjs:mainfrom
Bugg4:main
Closed

README: Add community plugin remark-lint-word-case#333
Bugg4 wants to merge 1 commit into
remarkjs:mainfrom
Bugg4:main

Conversation

@Bugg4

@Bugg4 Bugg4 commented Aug 21, 2025

Copy link
Copy Markdown

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

This adds a new community maintained plugin to the list: remark-lint-word-case.
This plugin accepts a list of words, such as ["JavaScript", "TypeScript"] and ensures that they appear with the specified casing, throwing an error if they don't.
Eg: "javascript" or "Javascript" would both throw an error, and they'd be corrected to "JavaScript".

Signed-off-by: Marco Bulgarelli <bulgarelli.marco99@gmail.com>
@github-actions github-actions Bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Aug 21, 2025
@ChristianMurphy

Copy link
Copy Markdown
Member

Thanks for sharing @Bugg4!
This feels more related to words/text than to markdown?

You may want to check out https://github.com/remarkjs/remark-retext
and the retext ecosystem https://github.com/retextjs/retext/blob/main/doc/plugins.md
Which have a lot of natural language plugins, including https://github.com/JulianCataldo/retext-case-police which seems to have a similar goal to your plugin

@Bugg4

Bugg4 commented Aug 21, 2025

Copy link
Copy Markdown
Author

Ah, thanks for the info!
Yes, looks like retext-case-police definitely satisfies my use case.
Wasn't super familiar with the whole remark ecosystem so I admittedly didn't look well enough before making my own plugin, but oh well, I guess I'll write it off as exercise 😄

Let me know if there are any changes I could make or features to add to make remark-lint-word-case suitable for this repo, else feel free to close this :)

@remcohaszing

Copy link
Copy Markdown
Member

I really like the idea of this plugin! But I agree this really belongs in a retext plugin and retext-case-police is a better option.

@Bugg4

Bugg4 commented Aug 22, 2025

Copy link
Copy Markdown
Author

Ok, closing this then, thank you both for the info and feedback 👌🏻

@Bugg4 Bugg4 closed this Aug 22, 2025
@github-actions

Copy link
Copy Markdown

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤞 phase/open Post is being triaged manually

Development

Successfully merging this pull request may close these issues.

3 participants