Comments (3)
No worries,
Thanks for the context, I see where the confusion can come from.
if you have some time, adding a note about references and a link to https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-no-undefined-references could be a good addition to the documentation!
from remark-validate-links.
Thanks for reaching out @dlipovetsky!
That is out of scope of this lint check, however it does exist.
You are looking for https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-no-undefined-references
from remark-validate-links.
My mistake. Thanks for pointing out the right place.
From the "Alpha" section in example in the API section of the readme, I inferred (incorrectly) that remark-validate-links also checks references:
# Alpha
This [exists](#alpha).
This [one does not](#does-not).
References and definitions are [checked][alpha] [too][charlie].
# Bravo
Headings in `readme.md` are [not checked](readme.md#bravo).
But [missing files are reported](missing-example.js).
[alpha]: #alpha
[charlie]: #charlie
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
- Link checker fails on a matching substring HOT 6
- 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.