Skip to content

Conversation

@digitalmoksha
Copy link
Collaborator

This change makes the relaxed-autolinks option allow any url scheme to be detected.

For example, smb://example.com would be detected as an autolink.

Closes #379

relaxed-autolinks now allows any url scheme
For example, `smb://example.com` would be detected
as an autolink
@github-actions
Copy link
Contributor

Command Mean [ms] Min [ms] Max [ms] Relative
./bench.sh ./comrak-3bafd47 320.2 ± 1.1 318.5 323.1 2.88 ± 0.02
./bench.sh ./comrak-main 321.1 ± 5.4 317.8 344.4 2.89 ± 0.05
./bench.sh ./pulldown-cmark 111.3 ± 0.5 110.3 112.3 1.00
./bench.sh ./cmark-gfm 118.8 ± 0.8 116.9 120.6 1.07 ± 0.01
./bench.sh ./markdown-it 479.3 ± 5.8 472.9 493.9 4.31 ± 0.06

Run on Wed Apr 24 22:35:57 UTC 2024

@kivikakk
Copy link
Owner

I've had a think about and a play with this — all LGTM. Thank you!

@kivikakk kivikakk enabled auto-merge April 25, 2024 08:14
@kivikakk kivikakk merged commit 0d4c448 into main Apr 25, 2024
@kivikakk kivikakk deleted the 379-autolink-to-allow-all-schemes branch April 25, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change autolink to allow more protocols, same as normal markdown links

3 participants