stumptown-content icon indicating copy to clipboard operation
stumptown-content copied to clipboard

Remove markdown-spellcheck and switch to retext

Open Elchi3 opened this issue 6 years ago • 1 comments

I've noticed that marked is still in our dependency tree (used by markdown-spellcheck) and I've also spend some time to further read about the package universe unified that we've started to rely on. It is actually great and has tons of format and language processing packages! Really like that.

So, I'd like to propose to remove my initial spellcheck implementation (i.e. remove the markdown-spellcheck package) and start using retext and its plugins.

https://github.com/retextjs/retext is the parent package https://github.com/remarkjs/remark-retext can get you from remark to retext

Just like remark, retext comes with many plugins, but for language processing! So, not only it does spell checking, but also it has things to do further language checking like avoiding "guys" or checking if "a" and "an" are used correctly. Wow! https://github.com/retextjs/retext-spell https://github.com/retextjs/retext-equality https://github.com/retextjs/retext-indefinite-article List of language processing plugins: https://github.com/retextjs/retext/blob/master/doc/plugins.md

I'm impressed how much validation our writing could get :)

Elchi3 avatar Jul 12 '19 10:07 Elchi3

I'm impressed how much validation our writing could get :)

The bots are coming for your jobs!

...and it's both a good thing and a lie.

peterbe avatar Jul 12 '19 20:07 peterbe