Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autolink should ignore wikilinks #413

Merged
merged 2 commits into from
May 16, 2024
Merged

Autolink should ignore wikilinks #413

merged 2 commits into from
May 16, 2024

Conversation

digitalmoksha
Copy link
Collaborator

When the autolink extension is used, text nodes inside a WikiLink node should be ignored, the same way they are for links and images.

Copy link
Contributor

Command Mean [ms] Min [ms] Max [ms] Relative
./bench.sh ./comrak-4270370 331.6 ± 2.8 326.3 336.5 2.89 ± 0.03
./bench.sh ./comrak-main 332.2 ± 2.3 328.6 337.9 2.89 ± 0.03
./bench.sh ./pulldown-cmark 114.9 ± 0.9 113.2 117.0 1.00
./bench.sh ./cmark-gfm 122.2 ± 1.5 120.3 128.3 1.06 ± 0.02
./bench.sh ./markdown-it 515.0 ± 11.0 502.2 546.5 4.48 ± 0.10

Run on Thu May 16 17:41:32 UTC 2024

Copy link
Owner

@kivikakk kivikakk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ta!

@kivikakk kivikakk enabled auto-merge May 16, 2024 18:52
@kivikakk kivikakk merged commit 64ac709 into main May 16, 2024
39 checks passed
@kivikakk kivikakk deleted the bw-wikilinks-fix branch May 16, 2024 19:00
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.

2 participants