Skip to content

Commit

Permalink
fix scheme and remap
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy committed Aug 13, 2023
1 parent 6cff5eb commit b59c091
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lychee.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
scheme = [ "file" ]
scheme = [ "https", "http", "email", "file" ]
# remap the `mdx` file but exclude all the png/gif files
remap = [ '(?m)file://([/0-9A-Za-z\-]+)$ file://$1.mdx' ]
remap = [
'(?m)file://([/0-9A-Za-z\-]+)$ file://$1.mdx',
'(?m)file://([/0-9A-Za-z\-]+)#([a-zA-Z0-9]+)$ file://$1.mdx#$2',
]

0 comments on commit b59c091

Please sign in to comment.