Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using textlint #77

Open
amimas opened this issue Feb 16, 2020 · 1 comment
Open

Consider using textlint #77

amimas opened this issue Feb 16, 2020 · 1 comment

Comments

@amimas
Copy link

amimas commented Feb 16, 2020

This project has been super helpful. I have several projects for documentation written in Markdown. Using this tool helps to validate and enforce consistency in Markdown syntax.

I am also using textlint in my projects. It's a great tool for enforcing writing styile/guideline. Textlint itself is a framework that uses various rules. Quite a few rules already exist and if one doesn't exist, you can create your own rule to validate contents against your unique requirements.

You can create fixable rules so that you don't need to manually apply fixes. There's also various different ways of generating reports.

I think it'd be great if markdownlint could be used with textlint, instead of a separate cli. Textlint also offers creating "preset", which is basically a list of rules already pre-configured so that users don't need to configure those rules one at a time.

Thoughts?

@DavidAnson
Copy link
Collaborator

I wasn't aware of that project, but it looks pretty neat! Reviewing the way they handle rules briefly, it looks like it would be possible to create a rule to wrap the markdownlint CLI. Trying to wrap each rule individually does not seem as interesting, but encapsulating the whole tool like they do with Alex seems feasible. It's not something I'm likely to get done anytime soon (ever?), but it could be an interesting project for someone else.

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

No branches or pull requests

2 participants