Write README.md in a Note and It Can Become a Link to a Website — the Fuzzy-Link Default, and the Version That Turned It Off
Write README.md in a note rendered by markdown-it 14 with its linkify option on, and the filename becomes a link to http://README.md — a website, because .md is Moldova's country-code domain. The cause is linkify-it's fuzzyLink setting, on by default until version 6.0.0 in July 2026. Backticks around the filename stopped it in every configuration tested.12
setup.py goes to Paraguay's domain. main.rs and lib.rs go to Serbia's, and deploy.sh to Saint Helena's.3 None of those links were typed by anyone. A parser saw a word, a dot and a two-letter ending, and decided it was looking at a web address.
On 29 November 2026, three of those six names resolved to an address on the public internet: readme.md, main.rs and lib.rs.4 A click on the blue filename goes to a registered domain run by someone else. This post does not visit those sites or describe them.
The default is common. In the week of 21–27 November 2026, markdown-it was downloaded 38,522,062 times from npm, and 83.8% of those downloads were majors that still ship fuzzy links on.5 Downloads are not users — CI runs and transitive installs count too — but they show which versions the code still runs.
Below: the rule that turns a filename into a link, a ten-line measurement across four markdown-it settings plus marked and GitHub, the version that changed the default, three projects that switched it off themselves, and the fixes. Where an https:// link ends — the trailing period — is a separate problem, covered in The Period After Your Link Is Not Part of the URL. This post is about where a link begins when nobody wrote a scheme.
A filename that becomes a web address
With linkify on, markdown-it 14.3.3 rendered Edit README.md and run setup.py as two links, to http://README.md and http://setup.py. Nothing in the sentence asked for a link. The same line in markdown-it 15.0.3, marked 18.3.0 and GitHub's renderer stayed plain text. Which renderer reads the note decides what the reader sees.1
This is the output, verbatim, from a run on 29 November 2026:
<!-- markdown-it 14.3.3, { linkify: true }, renderInline -->
Edit <a href="http://README.md">README.md</a> and run <a href="http://setup.py">setup.py</a>
<!-- markdown-it 15.0.3, { linkify: true }, renderInline -->
Edit README.md and run setup.py
The capital letters do not protect it. Domain names are case-insensitive, so http://README.md and http://readme.md are the same address.
The surprise is that markdown-it's linkify is off by default — its default preset sets linkify: false.6 A plain markdownit() call links nothing. The behaviour belongs to software that turns linkify on, because a pasted URL that becomes clickable is something people expect from a note. Turning it on brings the fuzzy part with it.
That is how a feature meant for example.com reaches README.md.
The notes where it happens are ordinary ones. A project log that mentions notes.md without backticks. A meeting note listing the scripts to run — setup.py, deploy.sh. A reading list that mentions a crate's lib.rs. Each looks fine in the editor, where the raw text shows, and turns blue only in the rendered view, or in an HTML export, or on a site built from the same files.
Nothing in the file changes — the link exists only in the rendering.
The rule: fuzzy links and the two-letter list
linkify-it, the library markdown-it uses for linkify, links text that carries no http:// when fuzzyLink is on and the text ends in a known top-level domain. Its default list accepts every two-letter zone plus 17 named ones. Every country code counts — and many filename extensions are two letters long.78
linkify-it's README describes the setting in one line: "fuzzyLink - recognize URL-s without http(s):// head."7 In the 6.x README the line ends "Default false." The 5.0.2 source documents the same option, and its comment ends "Default true."8
The list itself sits under .tlds(). The README's first rule for it is short: "2-letter root zones are ok."7 The named zones follow, copied here from the 5.0.2 source:
two-letter zones every delegated country code: md, py, rs, sh, ai, so …
(not js or ts — neither is a country code)
named zones (17) biz com edu gov net org pro web xxx
aero asia coop info museum name shop рф
encoded zones xn--…
Read against a project folder, the list sorts files into two groups. .md, .py, .rs, .sh, .ai and .so are country codes, so they link. .js, .ts and .css stay text. .js and .ts are two letters but are not country codes — linkify-it matches two-letter endings against a generated list of the zones that exist.831
The 17 named zones explain the opposite case. .zip and .mov are real generic top-level domains in the IANA root zone, yet archive.zip and clip.mov stayed text, because neither name is on linkify-it's short list.31 The list is a heuristic built to catch example.com — and it catches whatever shares an ending with a country.
A filename is not on that list. Its ending often is.
The country codes on this page, from the IANA root zone database: .md Moldova, .py Paraguay, .rs Serbia, .sh Saint Helena, Ascension and Tristan da Cunha.3
The measurement: ten lines, six renderings
Ten lines of everyday note text went through markdown-it 14 and 15, each with fuzzy links on and off, plus marked 18.3.0 and GitHub's Markdown API. markdown-it 14 by default linked 8 of the 9 lines without an email address. markdown-it 15 linked none. Switching the setting by hand reproduced the other version exactly.1
| Text in the note | md-it 14 default | md-it 14 fuzzyLink: false | md-it 15 default | md-it 15 fuzzyLink: true | marked 18.3.0 | GitHub (gfm) |
|---|---|---|---|---|---|---|
See notes.md for details. | link | text | text | link | text | not sent |
Run setup.py first. | link | text | text | link | text | not sent |
Open main.rs and lib.rs. | 2 links | text | text | 2 links | text | text |
Read me: README.md | link | text | text | link | text | not sent |
Script deploy.sh, archive.zip, clip.mov. | deploy.sh only | text | text | deploy.sh only | text | not sent |
Config in app.js and style.css | text | text | text | text | text | not sent |
Visit example.com today | link | text | text | link | text | text |
Go to www.example.com now | link | text | text | link | link | link |
Edit README.md and run setup.py | 2 links | text | text | 2 links | text | text |
Ping me at [email protected] | mailto | mailto | mailto | mailto | mailto | not sent |
| Lines linked (of 9 without an email) | 8 | 0 | 0 | 8 | 1 | www. only |
markdown-it 14.3.3 ran with linkify-it 5.0.2, and 15.0.3 with linkify-it 6.1.0. Every line went through renderInline() with { linkify: true }. GitHub received four of the lines through POST /markdown in gfm mode.1
Three things stand out. The two versions differ by one setting — nothing else in this test. marked, which has no fuzzy mode, links only the www. line. And email addresses link in every column, because linkify-it's fuzzyEmail is a separate setting that stayed on.7
The script is short enough to run yourself:
// run.js: node run.js <dir-with-markdown-it> [true|false]
const [, , dir, fuzzy] = process.argv;
const md = require(dir + '/node_modules/markdown-it')({ linkify: true });
if (fuzzy) md.linkify.set({ fuzzyLink: fuzzy === 'true' });
for (const line of [
'Edit README.md and run setup.py',
'Go to www.example.com now',
'Config in app.js and style.css',
]) {
console.log(JSON.stringify(line), '=>', md.renderInline(line));
}
Install markdown-it@14 and markdown-it@15 into two folders and point the script at each. The output for the README line is the block in the first section.
The version that turned it off
linkify-it 6.0.0, published to npm on 11 July 2026, changed the default. Its changelog says it in one line: "[breaking] fuzzyLink is now disabled by default." markdown-it 15.0.0 moved to linkify-it 6 on 30 July 2026. A project that upgrades loses filename links, and nothing else in its code has to change.2910
markdown-it's own changelog for 15.0.0 lists the change under "[breaking] linkify-it => v6", and its first sub-point is "No fuzzy links by default."9 The same entry lists two other linkify changes, including Unicode punctuation now ending a link — the territory of the trailing-period post linked above.
The npm registry shows the boundary. markdown-it 15.0.3, published 16 October 2026, depends on linkify-it ^6.1.0. On the same day, 14.3.3 shipped under the dist-tag v14-legacy, depending on linkify-it ^5.0.2.11
That second release matters. markdown-it 14 is still maintained — staying on it is a supported choice, not neglect.
Every earlier major depends on a linkify-it whose fuzzyLink defaults to true: markdown-it 10 on linkify-it 2, 12 on 3, 13 on 4, 14 on 5.11 The download split for 21–27 November 2026:5
| markdown-it major | Weekly downloads | Share |
|---|---|---|
| 14 | 28,103,961 | 73.0% |
| 15 | 6,245,325 | 16.2% |
| 12 | 1,750,693 | 4.5% |
| 10 | 1,026,887 | 2.7% |
| 13 | 922,612 | 2.4% |
| All majors before 15 | 32,276,737 | 83.8% |
linkify-it itself was downloaded 47,329,430 times that week — more than markdown-it, because other tools use it directly. Version 5 took 72.2% and version 6 took 16.1%.12
The numbers do not say how many apps turn linkify on. They say that where an app does, the fuzzy default most installs still carry is the one that links README.md.
Three projects that switch it off in their own code
At least three projects override the old default in their own source: VS Code's Markdown preview, Joplin's renderer and VitePress. Each sets fuzzyLink: false while leaving linkify on, and VS Code has done so since 2021. These facts come from reading each project's source on GitHub. No app was tested in use.131415
VS Code's story is on the record. In October 2019, a user reported that the Markdown preview "wrongly creates http links on words ending with .py". Matt Bierner, a VS Code maintainer, replied with a link to Wikipedia's article on .py and an explanation: "The preview attempts turn things that look like potential domains into links."16
His suggested fix then was to turn linkify off entirely, with "markdown.preview.linkify": false.16 That stops filename links and pasted URLs together — a working fix, and a blunt one.
Two years later, a second report asked for something narrower. Its author, GitHub user 4015-al, wrote that "setting md.linkify.fuzzyLink to false, will disable it only for links without http(s) header."17 Bierner agreed within hours: "Thanks, yes actually let's try disabling fuzzy links for now since it's come up a few times".17
The fix reached VS Code Insiders by 29 November 2021, according to the issue's triage bot.17 The current source keeps it:
// microsoft/vscode — extensions/markdown-language-features/src/markdownEngine.ts
md.linkify.set({ fuzzyLink: false });
// joplin — packages/renderer/MdToHtml/setupLinkify.ts
'fuzzyLink': false,
'fuzzyIP': false,
'fuzzyEmail': false,
// vuejs/vitepress — src/node/markdown/markdown.ts
md.linkify.set({ fuzzyLink: false })
VS Code's markdown.preview.linkify setting still defaults to true, so pasted https:// links stay clickable and only the guessing is gone.13 Joplin goes further and also switches off fuzzy emails and IP addresses; its renderer pins markdown-it 13.0.2, a version that would link filenames once linkify is on.14
Each project heard the same report and answered it with the same line. In July 2026 the library made that line its default.
GitHub is not where README.md turns blue
GitHub does not link README.md. Its Markdown spec recognises text without a scheme as a link only when it starts with www., and a 29 November 2026 test through GitHub's API left README.md, setup.py and example.com as plain text. A blue filename in a note comes from that app's renderer, not from Markdown.181
The GitHub Flavored Markdown spec's extended autolink rule reads: "An extended www autolink will be recognized when the text www. is found followed by a valid domain."18 No www., no link. marked follows the same rule, which is why it linked one line of nine above.
GitHub is the stricter reader — and its rule has its own complaints. A Stack Overflow question from 2014, "How do I prevent auto-generated links in the GitHub wiki?", had 72,582 views on 29 November 2026.19 It is about www. text, not filenames.
The demand is real all the same. People want to write the name of a thing without the renderer deciding it is an address.
The fix there is the fix here: backticks. The same family of problem shows up with # tags, covered in A Hex Colour or an Invoice Number Can Turn Into a Tag in Your Notes.
How to keep a filename plain text in any note
Put the filename in backticks. `README.md` renders as code in any CommonMark-based renderer, and linkify does not look inside code — markdown-it 14 with fuzzy links on returned <code>README.md</code>, no link. For a link you do want, write the full https:// URL or wrap it in angle brackets.1
Backticks are the habit worth keeping for every filename, command and path. They render in a monospace face that tells a reader to type the text exactly as shown, and they keep underscores, asterisks and dots from being read as anything else. Code spans are covered in more depth — including the backtick-inside-code case — in How to Put a Backtick Inside Code in Markdown.
These three lines were tested against markdown-it 14.3.3 with fuzzy links on:
Edit `README.md` and run `setup.py`. → <code>README.md</code> … <code>setup.py</code>
Docs: <https://example.com/readme> → <a href="https://example.com/readme">
README\.md → README.md (no link; the \ stays in the raw file)
The backslash works too. An escaped dot breaks the pattern, so README\.md renders as plain README.md.1 The cost is that the backslash stays in the file, where every search and every plain-text reader sees it. The general case — which characters need escaping and when — is in Markdown Ate the Underscores in __init__.
Prefer backticks. They are correct Markdown for a filename — whether or not a renderer is guessing.
For anyone building on markdown-it: three settings, three trade-offs
On markdown-it 14, md.linkify.set({ fuzzyLink: false }) makes it behave like 15. On 15, fuzzyLink: true brings the old behaviour back. A third option keeps fuzzy links but replaces the zone list, so example.com still links and README.md does not. Each choice gives something up.17
The first two are one line each:
const md = require('markdown-it')({ linkify: true });
// markdown-it 14 → behave like 15: only scheme URLs and emails link
md.linkify.set({ fuzzyLink: false });
// markdown-it 15 → restore the 14 behaviour
md.linkify.set({ fuzzyLink: true });
The third uses linkify-it's .tlds(list, keepOld). Passing false as the second argument replaces the default list, including the two-letter rule:
md.linkify
.set({ fuzzyLink: true })
.tlds(['com', 'org', 'net'], false);
// "Edit README.md and run setup.py" → plain text
// "Visit example.com today" → <a href="http://example.com">
// "Go to www.example.com now" → <a href="http://www.example.com">
That run gave the same result on markdown-it 14.3.3 and 15.0.3.1 The README says the list is there "to avoid false positives", and it invites a replacement: "If that's not enough, you can reload defaults with more detailed zones list."7
The narrow list has a cost of its own. With it, www.example.de stayed text on both versions — .de was no longer a known zone for scheme-less text. On markdown-it 14 [email protected] stayed text too; on 15 the email still linked.1 A https:// link to the same domain worked on both.
Pick the list for the text your users actually write. A team that writes .de addresses all day needs de on it — and then .de filenames link again.
Trade-offs: what switching fuzzy links off costs
Turning fuzzyLink off — or upgrading to markdown-it 15 — removes more than filename links. In the measurement, www.example.com and example.com stopped linking too, while marked and GitHub still link www. text. Only https:// URLs and email addresses stayed clickable. That is the price of no guessing.1
No setting gets both.
The www. loss is the one readers notice. Someone pastes www.example.com into a note expecting a link, as GitHub would give them, and gets text. On markdown-it 15 the fix is to write the scheme, or to use the narrowed zone list from the last section.
Turning linkify off entirely is the bluntest choice. It was VS Code's first suggestion in 2019, and it stops bare https:// URLs from linking too.16 VS Code later moved to the narrower setting, after a user pointed out the difference.17
Some workarounds are worse than the problem — they fix the rendering by damaging the text. The HTML entity . for the dot does stop the link, but the raw file then reads README.md, which no search for the filename will find.1
A zero-width space between README and .md, another common suggestion, did not work at all. markdown-it 14 linked it anyway, to the encoded address http://xn--README-gf0c.md.1 A note that cannot be found by typing its own filename has lost more than a link.
Links you mean to write are the opposite case. A full [text](https://…) link reads the same in every app and every version, as Write the Link Once, Read It Anywhere sets out — no renderer has to guess at it.
The download figures carry a caveat of their own. 83.8% is a share of npm downloads in one week, CI and transitive installs included.5 It moves as projects upgrade, and it says nothing about which of them turn linkify on.
What was tested, and what was not
On 29 November 2026, ten lines went through markdown-it 14.3.3 and 15.0.3, each with fuzzy links on and off, marked 18.3.0, and GitHub's Markdown API in gfm mode. DNS lookups were run for six of the names. No note app was tested in use, and none of the resolving domains was visited.14
VS Code, Joplin and VitePress appear here only because their source code sets fuzzyLink: false. That was read from GitHub, at the commits current on the date of access, not observed in the running apps.131415 This post makes no claim about which note apps link filenames today — that needs a test in each app. The quickest way to find out is to type Edit README.md and run setup.py into a note and switch to the reading view.
The DNS result is a snapshot. On 29 November 2026, readme.md, main.rs and lib.rs returned addresses, and notes.md, setup.py and deploy.sh returned none.4 That can change on any day. A name with no address today can be registered tomorrow — and the link in an old note will follow it.
Download counts are npm's own figures for 21–27 November 2026 and will move.512
Frequently Asked Questions
Why did README.md in my note turn into a link?
Because the app renders Markdown with a linkify feature that guesses web addresses. markdown-it before version 15, with linkify on, treats any word ending in a two-letter country code as a domain — .md is Moldova's. The fix that worked in every configuration tested is backticks: `README.md` renders as code and is never linked.
Where does a linked README.md go?
To http://README.md, which is the same as http://readme.md because domain names ignore case. On 29 November 2026 that name resolved to an address on the public internet, so a click reaches a domain run by someone else. main.rs and lib.rs resolved too; notes.md, setup.py and deploy.sh did not that day.
How do I disable autolinks in markdown-it?
For filenames only, call md.linkify.set({ fuzzyLink: false }), or upgrade to markdown-it 15, where that is the default. https:// URLs and email addresses keep linking. To stop all automatic links, create the parser with linkify: false, which is markdown-it's own default. Writers can also wrap the text in backticks.
Why does markdown preview create http links on words ending with .py?
.py is Paraguay's country-code domain, and linkify-it's fuzzy mode accepts every two-letter domain. VS Code's Markdown preview did this until late 2021, when its maintainers set fuzzyLink: false in the extension's source. The setting markdown.preview.linkify still defaults to true, so https:// links remain clickable.
Why don't .js or .zip files turn into links?
linkify-it accepts two-letter endings that are real country codes, plus 17 named domains such as com, org and info. .js is not a delegated domain, so it stays text. .zip and .mov are real domains but are not on linkify-it's short list, so archive.zip and clip.mov stayed plain text in the test.
How do I prevent auto-generated links in the GitHub wiki?
GitHub's Markdown links text without a scheme only when it starts with www., so README.md does not link there. To stop a www. address from linking, wrap it in backticks. A Stack Overflow question asking this had 72,582 views on 29 November 2026; backticks work in any renderer that follows CommonMark.
Does turning off fuzzyLink stop www. links too?
Yes. In a 29 November 2026 test, markdown-it 14 with fuzzyLink: false, and markdown-it 15 by default, left www.example.com as plain text; only https:// URLs and emails linked. To keep www. and .com links while dropping filename links, keep fuzzy links on and replace the zone list with .tlds(['com', 'org', 'net'], false).
A filename is a name, not an address. Mark it as code, and no renderer has to guess.
mnmnote.com keeps notes as plain Markdown files on your own device — which is why a habit like backticks, which reads the same in every app, is worth more than any one app's setting.
Footnotes
-
MNMNOTE measurement, 29 November 2026. Ten lines rendered with
renderInline()and{ linkify: true }in markdown-it 14.3.3 (linkify-it 5.0.2) and 15.0.3 (linkify-it 6.1.0), each with its default and withfuzzyLinkswitched; marked 18.3.0 (parseInline); GitHub's Markdown API (POST /markdown,gfmmode) for four of the lines; the three fix lines; the replaced zone list.tlds(['com', 'org', 'net'], false)on both markdown-it versions, withwww.example.deand[email protected]; single-word checks for.ai,.so,.jsand.tsendings; and the.entity and zero-width-space workarounds. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 -
linkify-it CHANGELOG, "6.0.0 / 2026-07-11". https://github.com/markdown-it/linkify-it/blob/master/CHANGELOG.md, accessed 29 November 2026. ↩ ↩2
-
IANA Root Zone Database, entries for .md, .py, .rs, .sh (country-code top-level domains) and .zip, .mov (generic top-level domains). https://www.iana.org/domains/root/db, accessed 29 November 2026. ↩ ↩2 ↩3 ↩4
-
MNMNOTE DNS lookup (
dig +short A), 29 November 2026, forreadme.md,notes.md,setup.py,main.rs,lib.rsanddeploy.sh. None of the domains was visited. ↩ ↩2 ↩3 -
npm downloads API, markdown-it downloads by version for 21–27 November 2026 (total 38,522,062), summed by major version. https://api.npmjs.org/versions/markdown-it/last-week, read 29 November 2026. ↩ ↩2 ↩3 ↩4
-
markdown-it 14.3.3 source,
lib/presets/default.mjs(linkify: false). https://unpkg.com/[email protected]/lib/presets/default.mjs, accessed 29 November 2026. ↩ -
linkify-it README, "new LinkifyIt(options)" and ".tlds(list[, keepOld])". https://github.com/markdown-it/linkify-it, accessed 29 November 2026. ↩ ↩2 ↩3 ↩4 ↩5 ↩6
-
linkify-it 5.0.2 source,
index.mjs: default options (fuzzyLink: true), the two-letter zone patterntlds_2ch_src_re, andtlds_default. https://unpkg.com/[email protected]/index.mjs, accessed 29 November 2026. ↩ ↩2 ↩3 -
markdown-it CHANGELOG, "[15.0.0] - 2026-07-30". https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md, accessed 29 November 2026. ↩ ↩2
-
npm registry, linkify-it release times: 6.0.0 published 2026-07-11T20:22Z; 6.1.0 published 2026-07-22T21:50Z. https://registry.npmjs.org/linkify-it, accessed 29 November 2026. ↩
-
npm registry, markdown-it: release times, dist-tags and
linkify-itdependency ranges for 10.0.0 (^2.0.0), 12.3.2 (^3.0.1), 13.0.2 (^4.0.1), 14.3.3 (^5.0.2, dist-tagv14-legacy) and 15.0.3 (^6.1.0). https://registry.npmjs.org/markdown-it, accessed 29 November 2026. ↩ ↩2 -
npm downloads API, linkify-it downloads by version for 21–27 November 2026 (total 47,329,430), summed by major version. https://api.npmjs.org/versions/linkify-it/last-week, read 29 November 2026. ↩ ↩2
-
microsoft/vscode,
extensions/markdown-language-features/src/markdownEngine.ts(md.linkify.set({ fuzzyLink: false })) andextensions/markdown-language-features/package.json(markdown.preview.linkify, defaulttrue),mainbranch. https://github.com/microsoft/vscode/blob/main/extensions/markdown-language-features/src/markdownEngine.ts, accessed 29 November 2026. ↩ ↩2 ↩3 -
laurent22/joplin,
packages/renderer/MdToHtml/setupLinkify.tsandpackages/renderer/package.json(markdown-it13.0.2),devbranch. https://github.com/laurent22/joplin/blob/dev/packages/renderer/MdToHtml/setupLinkify.ts, accessed 29 November 2026. ↩ ↩2 ↩3 -
vuejs/vitepress,
src/node/markdown/markdown.ts(md.linkify.set({ fuzzyLink: false })),mainbranch. https://github.com/vuejs/vitepress/blob/main/src/node/markdown/markdown.ts, accessed 29 November 2026. ↩ ↩2 -
"markdown preview wrongly creates http links on words ending with .py", microsoft/vscode issue #81891, opened 3 October 2019; reply by Matt Bierner (mjbvz), 3 October 2019. https://github.com/microsoft/vscode/issues/81891 ↩ ↩2 ↩3
-
"markdown preview wrongly creates links", microsoft/vscode issue #136198, opened 31 October 2021; comment by 4015-al, 1 November 2021; reply by Matt Bierner (mjbvz), 2 November 2021; fix noted in VS Code Insiders, 29 November 2021. https://github.com/microsoft/vscode/issues/136198 ↩ ↩2 ↩3 ↩4
-
GitHub Flavored Markdown Spec, version 0.29-gfm, §6.9 "Autolinks (extension)". https://github.github.com/gfm/, accessed 29 November 2026. ↩ ↩2
-
"How do I prevent auto-generated links in the GitHub wiki?", Stack Overflow question 25706012, asked 7 September 2014; 72,582 views on 29 November 2026. https://stackoverflow.com/questions/25706012 ↩