quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.99k stars 328 forks source link

Feature request: utility to check for broken external links #1319

Open alexpghayes opened 2 years ago

alexpghayes commented 2 years ago

I see that quarto render automatically checks for broken internal links (#41), which is super helpful. It would be great, especially for websites, to also check for broken external links.

Someone was recently reading my blogdown blog (which I am porting to Quarto) and they mentioned that they had found a bunch of dead links, especially URLs imported into Reference sections from .bib files. I can check for this manually after publishing using https://www.deadlinkchecker.com/website-dead-link-checker.asp, but it would be nice to fix dead links before publishing, similar to how urlchecker::url_check() works for R packages.

jjallaire commented 2 years ago

Thanks! Very good idea, perhaps we could implement a quarto check command that does something like this.

nanxstats commented 1 year ago

Looking forward to this capability in Quarto. For R, I built a simple, general-purpose link checker for R Markdown and Quarto projects, leveraging urlchecker: https://nanx.me/blog/post/rmarkdown-quarto-link-checker/

MarcSkovMadsen commented 11 months ago

+1

lindblb commented 10 months ago

+ 1