Comments (6)
Can you reduce the test case a bit more? From the path, I’m guessing that it has to do with docs.md
being seen as a file, instead of a directory. Can you clarify which folders and files exist in that path?
from remark-validate-links.
Is this better?
➜ scratchpad ls testfoo
test.md
➜ scratchpad cat testfoo/test.md
[foo](../testfoo/test.md/foo/bar/baz)
Then I run the checker on this file, and it does not fail.
from remark-validate-links.
So this problem occurs when the current file is “entered” as a directory, with more non-existent things after?
from remark-validate-links.
So this problem occurs when the current file is “entered” as a directory, with more non-existent things after?
Yes :)
from remark-validate-links.
Thanks, should for the report. I believe it’s fixed in 10.0.1!
from remark-validate-links.
Hi @wooorm Thank you so much for the fix :)
But could you add a prefix to the case also? I'll comment on the PR actually
from remark-validate-links.
Related Issues (20)
- External links always report as failures HOT 10
- How to pass `urlConfig` HOT 10
- Fails on projects not versioned with Git HOT 6
- Support linking to anchors in directories HOT 15
- Error when using with Bazel HOT 4
- No warning or error in case of missing reference HOT 3
- Multiple hyphens in a row are not collapsed in headings HOT 4
- Support Root-Relative Links (Absolute Links)? HOT 8
- Emoji headings are not supported HOT 1
- Images in headings not slugged correctly HOT 6
- Links are failing when the link is using any of the restricted names like "constructor"/"concat" etc. HOT 2
- `missing-heading-in-file` after upgrade to latest `remark-cli` (v10) HOT 9
- Links checks are failing when the header contains any special character in it. HOT 1
- Support [[wikilinks]] HOT 5
- Validate links for Foliant projects HOT 7
- Headings with inline comments are slugged incorrectly HOT 5
- Nonexistent reference-style links don't cause an error HOT 3
- Does not catch bad links that use absolute paths to repo root HOT 5
- Allow selection between warning, error and ignoring regarding the validity of links HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remark-validate-links.