zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.67k stars 2.65k forks source link

Markdown LSP support #5243

Open Daeraxa opened 2 years ago

Daeraxa commented 2 years ago

Check for existing issues

Language

Markdown

Tree Sitter parser link

No response

Language server link

https://github.com/microsoft/vscode/tree/main/extensions/markdown-language-features/server or https://github.com/artempyanykh/marksman

Misc notes

Now I know that Markdown is already supported in Zed but Microsoft just released a full language server for Markdown with a bunch of nice features:

Document outlines Workspace symbols Document links Smart folding Smart selection Completions Rename Find All References Go to Definition Diagnostics for broken links Updating of links on file moves / renames

Would be very nice to get ahead of the curve with implementing some of this stuff

Edit: Marksman is a different markdown language server that supports common note taking syntax too.

JosephTLyons commented 2 years ago

Oh, this is awesome! Would love to have this! There are a lot of features here that would make Markdown in Zed super nice. @maxbrunsfeld.

Daeraxa commented 1 year ago

Updated the first post with an alternative to the VSCode markdown language server - marksman which is already being supported be Helix and some other editors.

DanRoscigno commented 7 months ago

I prefer the Microsoft Markdown LSP because when a Markdown file is moved to a new location VS Code will (optionally) update all Markdown links in all files in the project.

thatbeautifuldream commented 6 months ago

Along with the LSP also make sure things like cmd clicks on the imports and autoformating for mdx component also work as there is not support now, mdx has relatively large usecases for blog, docs-like websites.

Screenshot 2024-02-14 at 10 48 54 AM
jansol commented 1 month ago

FWIW there is now an extension that adds Marksman support! And another one that adds Vale for spell checking.