Re:Show HN: I've built open-source, collaborative, WYSIWYG M...
by arek_nawo on Friday June 23, 2023 @10:30AM
(#36447297)
- I don't quite understand what "metadata" you're referring to?
- Makes sense. These are the kind of edge cases to figure out with special blocks like code. In theory, the selection you have before enter is a block selection, which would usually remove the block when anything is inserted (enter is specifically handled to move focus to the code editor). Will consider making other characters do the same.
Re:Show HN: I've built open-source, collaborative, WYSIWYG M...
by erezsh on Friday June 23, 2023 @11:00AM
(#36447744)
> what "metadata" you're referring to
Metadata as in author, tags, and such, which your app allows to add outside of the actual contents.
I think it's nice to have, and even nicer if I could export/import them. Maybe support something like [this](http://fletcher.github.io/MultiMarkdown-5/metadata.html) or [this](https://peterbabic.dev/blog/yaml-metadata-in-markdown/)
A few nitpicks:
- It would be nice if exports included the metadata as comments
- When I move my cursor over a code block, any key I press that isn't Enter will erase it, when really I just want to enter the code block and start writing. If I wanted to delete it, I could press del/backspace.