Skip to content

Commit

Permalink
🌎 Remove TLD of .java and .zip from linkify (#1825)
Browse files Browse the repository at this point in the history
See #1809
  • Loading branch information
rowanc1 authored Jan 28, 2025
1 parent fad8f67 commit 7d24862
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/large-clouds-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"myst-parser": patch
---

Remove java and zip from linkified TLDs.
2 changes: 1 addition & 1 deletion packages/myst-parser/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ export const MARKDOWN_IT_CONFIG = {
};

// List of valid TLDs to exclude from linkify
export const EXCLUDE_TLDS = ['py', 'md', 'dot', 'next', 'so', 'es'];
export const EXCLUDE_TLDS = ['py', 'md', 'dot', 'next', 'so', 'es', 'java', 'zip'];

0 comments on commit 7d24862

Please sign in to comment.