Live data from Hacker News

Windows 11 Notepad to support Markdown

blogs.windows.com

291–300 of 558 posts

Re: Windows 11 Notepad to support Markdown

#291

Earlier quoted context omitted.

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?

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).

It is also possible to use a different application as the http and file: url handler at the os level;

Write an app to display the (URL) argument passed and require the user to confirm or reject before running the browser using any of one or more default and configurable command line templates.

Add a "Install as default http, https, file:// uri handler" button in the settings gui. Prompt the user to install the app as default handler on first run.

Add opt-in optional debug logging of at least: {source_app_path:, url:, date_opened: } to a JSON lines log file

Re: Windows 11 Notepad to support Markdown

#292
post #246

Earlier quoted context omitted.

Typora is where it’s at!

When Typora has an iPhone client as good as their other clients, I’ll give up using a mix of Typora and Obsidian and just do all Typora. Neither of them seem to do everything I need. I hope MS does Notepad right, that could be useful.

Yeah. I would happily pay $100 for a typora that supports iOS and encrypted folders.

Bear is my fallback on iOS, but I much prefer some of the themes available for Typora, and simple files in folders over tagging.

Re: Windows 11 Notepad to support Markdown

#293
post #167

Earlier quoted context omitted.

notepad.txt now joins calc.txt in my list of EXEs i bring from an old WinXPx64 install to all new windows installs

Probably better to get the Win 10 version if you can as it eventually got better line ending support (i.e. both LF & CRLF).

I got curious about the Wine version, if it has feature parity it may well be the best supported version of notepad right now ;)

Re: Windows 11 Notepad to support Markdown

#294

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

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.

Syntax highlighting is definitely less complex than updating and rendering RTF and HTML.

There is configurable syntax highlighting in vscode.

Should an app like Notepad ever embed a WebView? (with e.g. tauri-apps/wry instead of CEF now FWIU)? Not even for a Markdown Preview feature IMHO.

Re: Windows 11 Notepad to support Markdown

#295

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...

I like EmEditor, it has a compact ui and some useful features, and 16TB file support -- https://www.emeditor.com/

Re: Windows 11 Notepad to support Markdown

#296
post #204

Earlier quoted context omitted.

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.

> Windows 10 explorer.exe is 100x faster than Windows 11 explorer, it's not even close. I have a hard time believing this. I'm pretty sensitive to performance losses and I haven't noticed any difference between those. It wouldn't make sense either, given they should both host the same shell icon views. Are you sure the difference you're seeing is in explorer.exe? As opposed to something else, like a new shell extensi…

> As opposed to something else, like a new shell extension or a new filesystem filter driver on Windows 11?

Ultimately, what difference does it make? The file explorer in Windows 10 is much faster than the one in Windows 11, and it's very noticeable. Turn on the old context menus, and try right clicking a file. Instant in Windows 10, visible delay in Windows 11.

Re: Windows 11 Notepad to support Markdown

#297
post #204

Earlier quoted context omitted.

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.

> Windows 10 explorer.exe is 100x faster than Windows 11 explorer, it's not even close. I have a hard time believing this. I'm pretty sensitive to performance losses and I haven't noticed any difference between those. It wouldn't make sense either, given they should both host the same shell icon views. Are you sure the difference you're seeing is in explorer.exe? As opposed to something else, like a new shell extensi…

I measured once. It uses about 50% more resources and offers less feautures (or at least hides existing feautures). You may not have noticed if you had resources to spare.

It does offer some new features for businesses. Nothing useful for the consumer, and nothing to justify the massive performance loss

Re: Windows 11 Notepad to support Markdown

#298

Earlier quoted context omitted.

Well they're text generation engines, of course they do, it's all just text.

What’s the point of your comment? We know that markdown is text, we understand that text is text. LLMs have very obviously been intentionally trained to work with markdown, specifically. Its prominence in LLM output far outweighs the real-world existence of raw Markdown online. That’s the point that was being made. What’s next. Are you going to say stochastic parrot?

stochastic parrot

Re: Windows 11 Notepad to support Markdown

#299

Earlier quoted context omitted.

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

Software used to be built for users, now it just has to look good as a screenshot.

The user is not the customer. Microsoft builds software for the enterprise now, so Windows 11 is full of new features for the enterprise and has nothing for the User.

They forgot that Enterprises are made out of Users.

Re: Windows 11 Notepad to support Markdown

#300

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...

You can just uninstall this modern notepad. It will bring back plain old notepad.

I found when I did that I lost the ability to associate any program with .txt files; like popup errors when trying to assign a default

You can make old Notepad be the default cmd line by going to Apps > Advanced app settings > App execution aliases, and disable the Notepad setting

Post reply on HN