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

"Potential incomplete link" warnings generated for checklists #45

Open
brendanzab opened this issue Oct 11, 2020 · 1 comment
Open

"Potential incomplete link" warnings generated for checklists #45

brendanzab opened this issue Oct 11, 2020 · 1 comment

Comments

@brendanzab
Copy link

brendanzab commented Oct 11, 2020

Hey, thanks for the cool project!

I get the following warning when I run mdbook-linkcheck on a markdown file with a checklist:

warning: Potential incomplete link
   ┌─ development/roadmap.md:19:5
   │
19 │   - [x] Comments
   │     ^^^ Did you forget to define a URL for `x`?
   │
   = hint: declare the link's URL. For example: `[x]: http://example.com/`

It seems to be fine with unchecked list items, eg: - [ ] Blah.

I did try excluding 'x' links, but this seems not to affect the warning at all.

The relevant PR is at: pikelet-lang/pikelet#232

@ghost-in-the-zsh
Copy link

I'm getting this warning when writing MathJax equations, etc. For example:

2022-09-11 22:51:43 [INFO] (mdbook::renderer): Invoking the "linkcheck" renderer
warning: Potential incomplete link
┌─ ch00/04-special-products.md:37:3
│  
37 │   \\[
│ ╭───^
38 │ │     x = \frac{
39 │ │             -b \pm \sqrt{ (b^2 - 4ac) }
40 │ │         }{
41 │ │             2a
42 │ │         }
43 │ │ \\]
│ ╰───^ Did you forget to define a URL for ` x = \frac{ -b \pm \sqrt{ (b^2 - 4ac) } }{ 2a } \\`?
│  
= hint: declare the link's URL. For example: `[ x = \frac{ -b \pm \sqrt{ (b^2 - 4ac) } }{ 2a } \\]: http://example.com/`

I recently got back to working on personal references after a rather long break (since 2019), and these warnings weren't showing up back then, but they show up now. Is this expected or not? Any suggestions or workarounds?

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

No branches or pull requests

2 participants