Comments (4)
from lychee.
@drahnr mentioned that this is how you get byte ranges with cmark: https://github.com/drahnr/cargo-spellcheck/blob/master/src/documentation/markdown.rs#L90-L92 and as cmark operates on characters, you essentially need to consume the characters upon the start byte bound and count the chars within the byte range to get a char range.
from lychee.
@untitaker, will you tackle this part in the near future?
Provide the byte- and character ranges of the link that was being checked, would be very helpful in order to craft meaningful error messages. Needs support by html5gum.
If not, then I'd close this because the other points on the list got covered already.
from lychee.
That's fine. Feel free to create an issue for that on html5gum if you think it's worth tracking.
from lychee.
Related Issues (20)
- Link, crossorigin, and integrity directive are being combined into unresolvable link HOT 9
- Docker Hub tag `latest` isnt. HOT 1
- example config file won't work as expected HOT 5
- Publish to microsoft store in msix format HOT 5
- Test failure for 0.12.0 on Arch Linux HOT 13
- Progress bar terminal line wrap issues HOT 1
- specific status code only for one link? HOT 5
- add postfix on a specific url HOT 1
- Text containing URL is not properly checked HOT 9
- Add option to excuse domain from `--require-https` HOT 17
- Specified file glob seems to be ignored (on Windows) HOT 7
- Config file verbosity HOT 5
- TOML parse error on `base` HOT 3
- ssl errors sometimes erroneously 'ok' HOT 5
- 'Verbose' does not accept boolean, as documented in example HOT 2
- Absolute local paths on Windows not recognized HOT 7
- Write errors to stderr HOT 2
- Incorrect URL extraction for links in `<pre>` tags
- Add custom delay inbetween requests (prevent ban) HOT 8
- Make `IGNORED` URLs failures more visible in the summary HOT 5
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 lychee.