Closed itsacoyote closed 3 months ago
Visit the preview URL for this PR (updated for commit 39be2ee):
https://zksync-docs-staging-5eb09--pr24-update-links-crkabo9j.web.app
(expires Mon, 29 Apr 2024 20:06:16 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: bfaafba5fa82d4f63473aaa76a21fabf1fbb3a11
I don't think we can make use of a link checker in the CI with this approach but its worth the maintainability.
I don't see why it wouldn't, what's required for a link check in CI to work?
What :computer:
[some text](url)
Why :hand:
Cool Factoid
Did you know you can do some fancy replace with VSCode search? Rather than tediously manually replacing all external-link references with the markdown syntax, you can use regex to search then "select" text from the results to use in a replace action.
:external-link\{text="([^"]*)" href="([^"]*)"\}
The
( )
groups text as a value that you can reference with$#
in the replace:[$1]($2)