Open
Description
I use static site generator tool to build a static html site. My sources are all in Markdown file/format.
All of these examples below are valid but the textlint rule detects them as an error.
- Ensure that all requirements described in the [Requirements](requirements) page are met
- Ensure that all requirements described in the [Requirements](requirements.html) page are met
- Ensure that all requirements described in the [Requirements](overview#requirements) are met
- Ensure that all requirements described in the [Requirements](overview.html#requirements) are met
In each cases listed above, there would be a source file named requirements.md
or overview.md
. The static site generator will create a requirements.html
, overview.html
file once the site is built. However, it seems this textlint rule is not able to perform this validation on the input source which are markdown files.
My only workaround is to set checkRelative
to false
. I don't really like this option because obviously this means I can only validate external links. But, it's also possible that internal/relative links may be invalid too due to user error.