Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wanted Zed to work as a high performance dev-enabled Markdown editor as I was looking to replace Obsidian that doesn't scale well (memory use and cursor latency degrades with document size, and generally what I suspect is a weak foundation). My use case is active note taking(PKM) and reviewing including a few large (1-2+ MB) markdown files. However, to my surprise, the performance for Markdown was much worse - it's practically unusable.

This is clearly a Markdown backend problem, but not really relevant in the editor arena, except maybe to realize that the editor "shell" latency is just a part of the overall latency problem.

I still keep it around as I do with other editors that I like, and sometimes use it for minor things, while waiting to get something good.

On this note, I think there's room for an open source pluggable PKM as an alternative to Obsidian and think Zed is a great candidate. Unfortunately I don't have time to build it myself just yet.



> On this note, I think there's room for an open source pluggable PKM as an alternative to Obsidian and think Zed is a great candidate. Unfortunately I don't have time to build it myself just yet.

I'm also super interested in building this. OTOH Obsidian has a huge advantage for its plugin ecosystem because it is just so hackable.

One of the creators of Zed talked about their experience building Atom - at the time the plugin API was just wide open (which resulted in a ton of cool stuff, but also made it harder to keep building). They've taken a much stricter Plugin API approach in Zed vs. Atom, but I think the former approach is working out well for Obsidian's plugin ecosystem.


I'd argue their current plugin API model is far too strict. It only supports 4 things: theming the GUI (color+alpha changes only), adding tree sitter grammars, adding a language server, and adding "slash commands" (which seems to be a defunct prior experiment).

Notably it does not include the ability to add any features, or configure any settings. In VSCode the block edit function and multi-cursor weren't part of the original tool, but were available as extensions. While Zed has that particular feature right out of the box, there's no ability to add features like that via extensions in Zed. Also, Zed doesn't even seem to have the concept of per-buffer settings or "effective" settings that differ from what's on disk. It's why you can't set tabs vs spaces for indentation in a single buffer, you can only set it globally (for example). That's probably why they don't allow extensions that do things like add predefined key maps, or associate new files with a language (without defining a new grammar), or apply a pre-defined set of settings automatically (E.g. autodetect indentation type? Vim/Emacs modeline parsing?). Almost all of even the simplest VSCode, Emacs, and Vim/Neovim extensions/packages/plugins make use of this concept, which is why it's wild Zed doesn't even (seemingly) have the concept of it, let alone allowing extensions to use it.

In fact, I'd argue Zed doesn't actually have an extension system at all. It has a completion system (LSP servers), a language addition system (tree sitter grammar and/or LSP server), and a themeing system. It just combines all three into a single list it somewhat misleadingly calls "extensions". But it's missing the ability for "extensions" to do any of the most basic things every other tool assumes is table stakes for an extension system.


The thing I really need from my markdown editor is pasting images that then show inline, so I don't have to waste screen space with a "preview pane".

So far the only editor I've found that does this is Typora.


+1 for Typora. It also has a nice option to automatically copy any media that is pasted into a doc into a $doc.assets subfolder so you can keep everything organized.


Try Obsidian, you'll like it. The Markdown editing experience is great and it's overall a good product.


+1 for Obsidian.

If you like Zed's collaboration features, I wrote a plugin that make Obsidian real-time collaborative too. We are very inspired by their work (pre agent panel...). The plugin is called Relay [0].

[0] https://relay.md


Doesnt marktext do this?


Bear if you are on a Mac




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: