V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
KalaSearch
V2EX  ›  问与答

[Gatsby] 请问有同学做过内链检查吗?

  •  
  •   KalaSearch · Jul 17, 2020 · 1483 views
    This topic created in 2113 days ago, the information mentioned may be changed or developed.

    hi 各位用 Gatsby 的同学

    我在站内的页面 A 想链页面 B (均是 blog 页面因此都是 markdown )用

    [B 页面](/blog/B)
    

    但是发现 gatsby 并不检查 /blog/B 是不是存在。尝试了 https://www.gatsbyjs.org/packages/gatsby-remark-check-links/

    它并没有如描述所说打印出

    3 broken links found on /examples/react/
    - /foo/bar/
    - /intro/#some-hash
    - /intro/#some-other-hash
    ⠀
    2 broken links found on /intro/
    - /foo/baz/
    - /examples/ract/
    ⠀
    5 broken links found
    
    

    请问有同学有解么?如何让 gatsby 检查内链不让我手滑打错呢?

    Supplement 1  ·  Aug 17, 2020
    1 replies    2020-08-17 06:31:25 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   874 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:30 · PVG 06:30 · LAX 15:30 · JFK 18:30
    ♥ Do have faith in what you're doing.