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
49.49k stars 3.02k forks source link

Markdown / Markdown Preview improvements #5346

Open nathansobo opened 2 years ago

nathansobo commented 2 years ago

All Markdown issues

LSP

Investigate this, this may solve multiple other requests

Syntax highlighting

Render / Embed

Autocomplete / Autoformatting

Misc

iamnbutler commented 2 years ago

I'd love for us to detect checklists as well (- [ ]) and add a new one when making a new line.

fdionisi commented 2 years ago

Not sure if the following should be added here on in a separate bug ticket.

When adding italic styling using _ to the last word of a sentence on the last line of the editor, syntax highlight is not applied until you enter a new line below.

https://user-images.githubusercontent.com/8927326/181229411-51626d9e-ed0f-474c-9bfc-df0a89cbfb32.mp4

srl295 commented 1 year ago

(didn't seem to be exactly covered by the above.)

bbkane commented 9 months ago

Inline image rendering would make a HUGE impact on how I write Markdown (it's currently the main reason I use https://typora.io/ ) (see my blog for more ranting information about what I need to take notes)

red-co commented 1 month ago

Can we add support for id anchor jumps in Markdown, // If possible, allow this specific syntax to jump directly into the editor in any source code comment block.

Some editors allow setting ids or aliases for headers.

It may be implemented with html like <a id="anchor">name</a>, but this hack only works for page html, and editor inside jumps do not support it.