Top
Best
New

Posted by andreynering 5 hours ago

Windows 11 Notepad to support Markdown(blogs.windows.com)
124 points | 241 comments
password4321 1 hour ago|
I believe Markdown support is what led to CVE-2026-20841 earlier this month.

20260211 https://news.ycombinator.com/item?id=46971516 Windows Notepad App Remote Code Execution Vulnerability (804 points, 516 comments)

20260210 https://msrc.microsoft.com/update-guide/vulnerability/CVE-20...

> "An attacker could trick a user into clicking a malicious link inside a Markdown file opened in Notepad"

Other recent Notepad issues:

20260207 https://news.ycombinator.com/item?id=46927098 Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs? (187 points, 284 comments)

20260127 https://news.ycombinator.com/item?id=46780451 Windows 11 January Update Breaks Notepad (60 points, 25 comments)

j2kun 1 hour ago||
This is my favorite part of this story. Do you want remote code execution? Because [fixing things that aren't broken] is how you get remote code execution.
0xy 1 hour ago||
I think it's more likely that Microsoft is vibe coding slop garbage to replace their core apps that were literally better.

Windows 10 explorer.exe is 100x faster than Windows 11 explorer, it's not even close.

It also signals the death knell for Windows native apps. Microsoft can't make them anymore. It won't be long until even Excel is a Electron sloplication.

steve1977 51 minutes ago|||
The best example is probably the new "Outlook", and I put that name in quotes intentionally.
throwaway85825 3 minutes ago|||
The new outlook 'features' are built in Javascript and not integrated at all with the rest of outlook. This is because they laid off all the older more expensive staff who knew C++ and replaced them with new cheaper diverse staff that only know Javascript.
password4321 30 minutes ago|||
In case anyone is not aware:

20231109 https://news.ycombinator.com/item?id=38212453 Windows 11 Update 23H2 is stealing users' IMAP credentials (666 points, 278 comments)

> the new Outlook is a thin wrapper around the cloud version, so the IMAP sync happens in the cloud, not locally

bubblewand 34 minutes ago|||
It's been so weird to watch over the decades as team sizes, budgets, and timelines have exploded even as we've abandoned once-normal things like native GUI applications as too hard in favor of "more efficient" webshit... even as the aforementioned stuff with growing team sizes, budgets, and timelines have happened.
nextaccountic 14 minutes ago||
What's weird is that AI is supposed to make development easy enough that native applications are just as fast to build than web apps

Somehow in this timeline AI can only be used to make things worse and sloppier

throwaway85825 1 minute ago||
Software used to be built for users, now it just has to look good as a screenshot.
WithinReason 1 hour ago||
It was already true that an attacker could trick a user into copying a malicious link inside a file opened in Notepad to their browser, was that also a Remote Code Execution Vulnerability?
JonathonW 10 minutes ago|||
You can trick the user into copying the same malicious link, but browsers have generally already implemented the same mitigation that is Microsoft's fix for this issue inside Notepad (specifically, prompting before opening outside applications after the user enters or clicks a URL that isn't one of the built-in schemes).
dec0dedab0de 38 minutes ago|||
It looks like the exploit would cause notepad to retrieve and execute arbitrary code when a malicious link is clicked.
cyanydeez 35 minutes ago||
The worst part of enshittification is all these search tools erring on the side of too many results than not enough.
paxys 2 hours ago||
I was about to make a joke about how I'm surprised they haven't shoved Copilot into Notepad yet, but surprise - they have (https://support.microsoft.com/en-us/windows/enhance-your-wri...)
ondra 1 hour ago|
This might be the reason for Markdown support, LLMs love it.
porphyra 9 minutes ago||
If notepad were to support Markdown by giving it a nice syntax highlighting and niceties like clickable links and automatic list numbering, while preserving the monospaced font, then that would be great. But with rich text formatting it has all the pitfalls of WYSIWYG editors like accidentally changing the style of something, having "formatting typos" where you tried highlighting only part of a word before making it bold, using the wrong header type, etc.
QuiEgo 7 minutes ago|
Typora is where it’s at!
NooneAtAll3 1 hour ago||
step 1: remove wordpad

step 2: omg there's demand for features

step 3: turn notepad, whose point was to be a dumb simple thing, into a wordpad

step 4: get a raise because you "solved" the problem

brokencode 26 minutes ago||
Yeah IDK. Wordpad is built around rich text, with all the weirdness and complexity that comes with it. I know for a fact that .rtf is absurdly complicated to work with, and I assume that .docx is similar.

I’m willing to bet that adding markdown to Notepad was a lot simpler than trying to make it work in Wordpad, especially since you’d probably still have to support rich text.

datenyan 1 hour ago||
Glad (/s) to see the MBA-ification of tech companies continues uninterrupted as we enter the second half of the decade.
cyanydeez 34 minutes ago||
I assume there's like a single manager who's job it was was to maintain notepad and force use of AI, so obviously, vibe code needless features because if it's not broke, how can you fix it with AI.
waldrews 1 hour ago||
The new workflow will be "AI, I need to view this text file and add some words to it. Create an app that displays it in a scrollable window, respecting the encoding. Now move the cursor to the line below the three dashes... no, the other three dashes..."
red_admiral 1 hour ago||
Once upon a time, you could strip formatting from the clipboard in notepad with ^V ^A ^C, for example if you were trying to paste from edge into word. There's still a market for a non-rich text editor, without autosave, cloud, account login or AI.
hurfdurf 55 minutes ago||
Apparently pasting unformatted text in browsers can be done with Ctrl+Shift+V. Pasting it in Office is Ctrl+Alt+V. Always the odd one out. Taken from here: https://devblogs.microsoft.com/oldnewthing/20220906-00/?p=10...
kiwijamo 48 minutes ago||
It doesn't work everywhere though as there are still apps that don't offer a plain text paste, and as you have noted the shortcut can be different in different applications.
gmueckl 58 minutes ago||
Unless it changed recently, the faster way is to just press ctrl+shift+V for "paste special" in Word, which should open up the paste dialog with "Unformated Text" preselected (IIRC), so immediately pressing Enter should close the dialog and paste the stripped text.
leni536 54 minutes ago||
Careful when doing it in Teams. ctrl+shift+V is "paste without formatting", ctrl+shift+C is "call everyone".
MengerSponge 44 minutes ago||
Hey everyone! Check me out! I don't preserve formatting!
notepad0x90 3 minutes ago||
notepad is supposed to be like the 'nano' for windows. it's already bloated.

But this is just following a pattern, the enshittified even calc.exe and mspaint. Previewing pictures in windows is shamefully slow because the previewer is also a bloat.

My diagnosis is that Microsoft doesn't have good technical leadership. It has spread the risk of bad decisions by individual leaders by spreading it amongst too many decision makers, and those people aren't always technically apt, or they have aptitude within their specific domain of expertise. Why is the start menu in react native for example.

they also have a crippling illness in the form of sunken-cost fallacy. Even when no one is especially depending on it, they go all-or-nothing on tech stacks and design patterns. Marketing and branding ultimately, I think is their biggest problem. You know how they name everything terribly? that's trying to capitalize on existing branding. This is fundamentally the mindset of salespeople. they could be spinning a new app, or making a vscode-lite ship with windows, but brand familiarity is why they're messing with notepad.

It is truly dumbfounding, they're being run like HP and IBM but because of how much the world relies on them, and because of Azure they're making so much profit.

Why are the shareholders no enraged even more? To have such a vast marketshare and failing to capitalize on it is terrible. They could be doing better than Apple. Even apple sees the writing on the wall and adapts their strategy fundamentally by starting to make their own silicon. It's like having a barn full of chicken that lay golden eggs, but the farmer is slaughtering them for their meat, and the farmer's employer doesn't care because chicken meat is still making good enough profits.

Longhanks 5 hours ago||
They’re turning Notepad into what Wordpad was (or was supposed to be). Now everyone looking for the light weightiest *.txt editor must find a new tool...
smusamashah 1 hour ago||
You can just uninstall this modern notepad. It will bring back plain old notepad.
scoopr 2 hours ago|||
Well, at least they brought back edit[0]

[0] https://github.com/microsoft/edit

tracker1 2 hours ago||
If this was actually (pre)installed with Windows, I wouldn't mind the changes to notepad nearly as much.
Someone1234 2 hours ago|||
While I'd love it installed by default, I still very much mind that they're ruining Notepad.

Plus this Markdown preview functionality just caused Notepad to have a Remote Code Execution Vulnerability in it.

tracker1 2 hours ago||
Oh it's still pretty stupid, and I think they should have simply resurrected the Wordpad name for this, and maybe a conversion utility for opening doc/rtf files to markdown in the editor for older file support.
Someone1234 48 minutes ago||
Agreed. Resurrecting Wordpad and making it really cool/useful would make everyone happy.

They can add as much AI and Markdown as they want to Wordpad as far as I'm concerned. Just leave my dumb featureless utility alone.

noinsight 2 hours ago|||
It is preinstalled. Server 2025 (even Core Edition) and Windows 11 24H2 (or 25H2, not sure)...
dmitrygr 2 hours ago|||
notepad.txt now joins calc.txt in my list of EXEs i bring from an old WinXPx64 install to all new windows installs
accoil 1 hour ago|||
Probably better to get the Win 10 version if you can as it eventually got better line ending support (i.e. both LF & CRLF).
mkup 2 hours ago|||
I also bring in the old paint from Vista. I never liked the new ribbon-based design from later version of Windows.
canistel 2 hours ago|||
Textadept is lightweight, and more...
reactordev 5 hours ago|||
Vim is The Way.
SamuelAdams 5 hours ago|||
For the absolute lightweight, there is vi, eMacs, nano, etc.

For a UI I’ve been using VSCode. It is quite quick when you disable all extensions and most settings.

tmtvl 5 hours ago|||
> absolute lightweight

> eMacs

I love Emacs, but I don't see how a Lisp platform with a web browser, a Tetris implementation, and 4 terminal emulators (shell, term, ansi-term, eshell) can be considered 'lightweight'.

deathanatos 2 hours ago|||
As the old saying goes, "emacs is an operating system lacking only a decent text editor".
noosphr 49 minutes ago||
Not so. Evil mode is a great text editor.
1bpp 2 hours ago||||
To be fair you can say that of anything with a scripting engine, you could have all that in vim or stripped down emacs
wk_end 2 hours ago||
Anything with a scripting engine isn't lightweight compared to (classic) Notepad!

(Also, a lot of that stuff comes bundled with Emacs out-of-the-box, further disqualifying it. Having a scripting engine is one thing, but having a scripting engine along with the whole rest of the jet is something else entirely!)

SamuelAdams 4 hours ago|||
Ha, fair. Lightweight in this context is relative to Notepad or any modern Windows application.
kibibu 3 hours ago||
Notepad.exe used to be <200kB. Emacs is tens of megabytes
JohnFen 3 hours ago||||
vi and emacs are absolutely not lightweight, let alone "absolutely lightweight".
jmclnx 3 hours ago||
If by vi you mean vim, then I agree, real vi is rather lite.

As someone famous said, "everything is relative" :) Compared to the new applications that have been coming out, Emacs and vim are a paragon of lightness.

irishcoffee 2 hours ago||
I agree with you that vi is lighter than vim. I’ve seen more than a few instances of an OS just aliasing vi to vim.

On that note, why are the keybindings for vi on a “modern” Ubuntu different from fedoras? I remember having to mess with ^H in a vimrc or something to that effect to mimic the behavior I was expecting.

cwillu 29 minutes ago||
Sounds like the terminal (not vi) you're using has different defaults; backspace and delete are the two common keys that vary.
paxys 2 hours ago||||
I'm sorry but you cannot use VS Code and lightweight in the same sentence.
hypeatei 5 hours ago|||
Notepad++ is solid but they had a recent kerfuffle involving their security practices and the response didn't inspire much confidence. But if you turn off auto-updates then it's a good alternative if you're still on Windows.
judah 7 minutes ago|||
More than a small kerfuffle. A supply chain attack by a state actor, believed to be China, resulted in undetected malicious code executions from June 2025 to December 2025.
Someone1234 2 hours ago||||
The issue Notepad++ is having, is the same as a lot of open source projects: They don't have a ton of money, don't have a business entity, and are struggling to get/keep a software-signing key in those circumstances.

So the people taking pot shots at the developers, I guess, maybe be more specific with what they did wrong and what they should have done instead. Because if you actually understand the history/circumstances (and the fact it was a third-party hosting provider compromised), one would expect more blame on the systemic under-funding of OSS than "developers bad."

Are people wanting them to create a business, monetize Notepad++, so that they no longer have issues with hosting/certificates? I'm guessing not.

voidfunc 2 hours ago||||
I love Notepad++ but yea, zero confidence in that dev right now. Its programma non grata on my machines at the moment.

Theyre also very political and giving them access to my machine now feels even more risky.

cogman10 2 hours ago||
If you'd like a lightweight replacement, here's Kate. It's somewhere around a zed featureset, a little less.

A key benefit of it is that it's not an electron app. It's an old C++ app that's still just chuggin' along.

https://kate-editor.org/get-it/

password4321 38 minutes ago|||
I didn't realize until recently that the very popular Notepad++ was such a lightning rod over the years for controversy and (though I can't guarantee correlation is causation) security issues.

20260202 https://news.ycombinator.com/item?id=46851548 Notepad++ hijacked by state-sponsored actors (917 points, 543 comments)

20260203 https://news.ycombinator.com/item?id=46878338 Notepad++ supply chain attack breakdown (384 points, 198 comments)

20250630 https://news.ycombinator.com/item?id=44426049 High-Severity Vulnerability in Notepad++ (39 points, 14 comments)

20230904 https://news.ycombinator.com/item?id=37385920 Multiple Notepad++ Flaws Let Attackers Execute Arbitrary Code (83 points, 39 comments)

20230830 https://news.ycombinator.com/item?id=37320304 Buffer Overflows in Notepad++ (68 points, 61 comments)

20230829 https://news.ycombinator.com/item?id=37311068 Notepad++ v8.5.6 still vulnerable to possible arbitrary code execution (18 points, 3 comments)

20211209 https://news.ycombinator.com/item?id=29499002 StrongPity variant hides behind Notepad++ installation (45 points, 28 comments)

20191030 https://news.ycombinator.com/item?id=21395251 Notepad++ issues attacked by Chinese commenters (237 points, 110 comments)

20191030 https://news.ycombinator.com/item?id=21400526 Notepad++ repository is being spammed after “Free Uyghur” release (82 points, 36 comments)

20190317 https://news.ycombinator.com/item?id=19329330 Notepad++ drops code signing for its releases (496 points, 327 comments)

20170308 https://news.ycombinator.com/item?id=13824032 Notepad++ V 7.3.3 – Fix CIA Hacking Notepad++ Issue (1101 points, 291 comments)

20150112 https://news.ycombinator.com/item?id=8876823 Notepad ++ hacked for Je Suis Charlie comments(web archive link) (65 points, 74 comments)

zer0zzz 5 hours ago|||
All we wanted back in the day was Unix line ending support, and they would give even that.
embedding-shape 5 hours ago||
How about a CTRL+Z that don't undo the past 11 years of changes you've done, and instead just undos one smaller change?
vee-kay 1 hour ago|||
[dead]
somenameforme 5 hours ago|||
notepad++ is great, though they have a dubious habit of dumping political messages on releases.
wk_end 2 hours ago|||
I don't have any use for Notepad++, but reading about this makes me wish I did:

https://en.wikipedia.org/wiki/Notepad%2B%2B#Political_messag...

The possibility of software being a personal, creative, expressive endeavor (which often includes politics), something I believed in back when I was in university twenty years ago, is a feeling that's receded deeply into the past. That might be as much about me as it is about the world, but I miss it.

bigstrat2003 1 hour ago|||
I think that different people want different things. It seems to me like these days the idea of software being a personal expression is in vogue more than not, but there are always going to be those who want that and those who don't.

That said, if software is a personal creative expression, one must be prepared for the possibility that some people aren't going to like what one has to say. Often when the politics angle comes up with Notepad++, people will say "it's his software project, he has the right to put in political messages if he wants" as if that somehow compels people to be ok with the political messages. The author certainly has the right to use Notepad++ as a platform for his political opinions, and I would never dream of saying otherwise. I don't want him to go to jail, or get fired by his employer, or anything like that. But I similarly have the right to decide that I don't want to see his political opinions and use another piece of software. You pick up both ends of the stick, as the old saying says.

pharrington 1 hour ago||
Where is the place you'd like to see someone say "Declare variables, not war"?
NooneAtAll3 1 hour ago|||
reading about political messaging in any software should make you AVOID it, not "wishing to have it"

the moment software stops being neutral, it becomes a target

wk_end 1 hour ago||
I guess this is true in a professional context - you don't want your user's or company's data somehow becoming compromised because of your choice of text editor.

But, at the same time, that's exactly the sort of thinking that's killed off that feeling I'm sentimental for. As a free human being, I don't want to live in fear of expressing my political views; and as someone who wants to view the software I make as a form of art or expression, I don't want to be afraid to express my political views through my software either. Should a writer avoid being political for fear of becoming a target? For fear of their books or readers becoming a target?

NooneAtAll3 41 minutes ago||
as a free human being, you can do whatever

as a program that tries to be used by others - stay in your lane, you are not an opinion cesspool, you are here to do work and let others do it too

throw4re2ef 3 hours ago||||
I remember a few years back there was an update where it would actually type the political message when you created a new text document. I abandoned it ever since.

The creator is also very selective about the type of politics he supports.

zzrrt 1 hour ago||
> The creator is also very selective about the type of politics he supports.

Why would someone express political messages without being selective? It’s understandable not wanting overt politics in your software, but this line is odd.

reactordev 5 hours ago||||
Sublime is good too without the political rhetoric. It boggles my mind that windows users refuse the ways of vim.
vunderba 1 hour ago||
Was hoping to see Sublime mentioned here. Super stable and available for nearly everything (Windows, Linux, Mac).
BuckRogers 5 hours ago|||
And they were running on such a shoestring deployment that N++ was hacked by the Chinese last year. I'd stick with VS Code.
5o1ecist 5 hours ago||
> must find a new tool...

Interesting. This is not actually true anymore, even for the masses.

Nowadays everyone can just have their own tools made, "hand-tailored" with the features they want. Maybe I'm wrong, but it feels like everyday-software is now only a few sentences (and a python script) away.

soupfordummies 4 hours ago||
Please show me the few sentence prompt to create a windows 10 level notepad.exe clone that I can quickly open and use by hitting win+r
tracker1 2 hours ago|||
I think Dave (of Dave's Garage) did this just a few months ago... I think there were some short-comings regarding wide character support (BoM detection, etc)... but it was pretty much a working Notepad.exe implementation.

FWIW, you can also get the new Edit implementation that's built with Rust and the Windows exe is 250kb...

5o1ecist 3 hours ago|||
https://www.perplexity.ai/search/hey-hey-someone-on-hackerne...

Tested with python 3.10.6, Windows. It's the only version I have installed, for which I've also have installed tkinter.

Welcome to 2026. You're late.

soupfordummies 3 hours ago|||
while this is cool and I want to play with it myself, it's still sort of discounting the overhead here of installing python, installing tkinter, adding shortcuts to the program within Windows, etc.

Of course the barrier to creating bespoke tools is lower but it's also still a decent bit of overhead and not just "hey AI, create me a Notepad clone that works like it used to". Arguably it's still more intensive than googling "notepad clone" and just downloading n++.

5o1ecist 2 hours ago||
> discounting the overhead

Are you moving the goalpost?

The whole thing is a bit unfair anyway. My perplexity is trained on me. It knows that I have python installed, thus it wouldn't tell me that I would need to do so. It knows I'm a programmer, it knows that I value accuracy and precision. It knows to double-check everything all by itself.

I am confident in claiming that it can get the task done regardless of the above, but its response, as is, cannot be generalized.

javascriptfan69 2 hours ago||
>Are you moving the goalpost?

I mean you did originally claim that this was something that was "for the masses" and then posted a solution that only someone technical could actually use.

Not that I doubt it couldn't one shot something this simple with a .exe wrapper.

pqtyw 2 hours ago||||
> Welcome to 2026

But anyone with basic experience in Python could have written that same app in minutes 20 years ago?

well_ackshually 2 hours ago|||
>python

>tkinter

so you missed the part where notepad starts instantly, doesn't choke on files larger than 25KB and uses native Win32 controls ?

Dylan16807 1 hour ago||
It only takes a few megabytes to make notepad have serious delays. Are you sure the linked program is any worse?
cwillu 25 minutes ago||
There's a world of difference between 25kb and 2mb
Dylan16807 19 minutes ago||
The 25KB number is almost certainly not real, or meant to be particularly accurate.
pvdebbe 2 hours ago||
Notepad going the way of Wordpad, EDIT.COM becoming the new Notepad.

What's next, in a few years we're rocking EDLIN when we need to operate on a text file safely?

noinsight 2 hours ago||
> EDIT.COM becoming the new Notepad.

edit.exe[1,2] actually. And it runs on Linux too! Linux had a real lack of good text editors.

[1] https://github.com/microsoft/edit

[2] https://learn.microsoft.com/en-us/windows/edit/

gmueckl 46 minutes ago||
So I was about ready to rant about bloat in modern software, but I checked first: the new edit.exe for Windows is 260kB. The old editor for DOS 6.22 was actually provided by qbasic.exe, which had the editor and a full BASIC interpreter packed in 250kB. Edit.com was just a tiny wrapper.

This isn't bad at all given how most other software evolved in thr the intervening 30 years.

bananaflag 38 minutes ago|||
I remember first finding out about Edlin in 2003 while reading DOS for Dummies by Dan Gookin. Experienced a lot of anemoia that day. That short section about Edlin was the most touching part of the entire book (probably because it took place before the DOS 5-6 / Win 3.x era which already felt old).
cyberax 53 minutes ago|||
Oldie bit goodie: https://www.gnu.org/fun/jokes/ed-msg.en.html
Apocryphon 2 hours ago||
https://gnuwin32.sourceforge.net/packages/ed.htm
ZoomZoomZoom 26 minutes ago|
Years ago replacing Notepad with an alternative was a given and everybody had their favourite. Before UTF everywhere you needed at least proper character encoding handling, other features followed.

Surprisingly, some of the projects such as AkelPad are still alive.

Win32 made things easier, as well as things like Delphi and Scintilla later.

Just checked my archives, and my own naive but functioning attempt measures whole whopping 36520 bytes, though not without the help of an executable packer, which was a fashion then.

Mostly works fine under Wine, though it is about the legal US drinking age.

More comments...