You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-11Lines changed: 24 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
-
A collection of ideas, programs and scripts to make [lychee](https://github.com/lycheeverse/lychee/) compatible with additional file formats.
1
+
A collection of use-cases and scripts to make [lychee] compatible with additional file formats.
2
2
3
3
Out of the box lychee supports HTML, Markdown and plain text formats.
4
-
More precisely, HTML files are parsed as HTML5 with the use of the [html5ever](https://github.com/servo/html5ever) parser
5
-
and Markdown files are treated as [CommonMark](https://commonmark.org/) with the use of [pulldown-cmark](https://github.com/pulldown-cmark/pulldown-cmark/).
4
+
More precisely, HTML files are parsed as HTML5 with the use of the [html5ever] parser.
5
+
Markdown files are treated as [CommonMark] with the use of [pulldown-cmark].
6
6
7
7
For any other file format lychee falls back to a "plain text" mode.
8
-
This means that [linkify](https://github.com/robinst/linkify) attempts to extract URLs on a best-effort basis.
9
-
If invalid UTF-8 characters are encountered the input file is skipped.
8
+
This means that [linkify] attempts to extract URLs on a best-effort basis.
9
+
If invalid UTF-8 characters are encountered, the input file is skipped.
10
+
This is because it is assumed that the file is in a binary format lychee cannot understand.
10
11
11
12
# Preprocess files
12
13
@@ -20,7 +21,7 @@ as no parameters can be supplied from the CLI directly.
20
21
lychee files/* --preprocess ./preprocess.sh
21
22
```
22
23
23
-
Take a look at [preprocess.sh](./preprocess.sh) to see how this is done.
24
+
Take a look at [preprocess.sh] to see how this is done.
0 commit comments