Live data from Hacker News

Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

news.ycombinator.com

61–70 of 102 posts

Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

#61

This is pretty nice, though I'd suggest you call it a transparent syntax highlighter. For https://grack.com/demos/adventure/ , I used a hidden for something similar. I wanted to take advantage of paste/selection and all the other goodies of text, but with fully-integrated styling. Like you, I found that standard text input boxes were far more interesting than contentEditable because they're just so simple overall. I…

Fun fact: this is how github adds syntax highlighting in its search bar. A while back I built the same syntax highlighting in Shortwave (an email client) using the same “view on top of a transparent input” trick. Pair it all with the following blog, for a top notch search UX

https://blog.superhuman.com/delightful-search-more-than-meet...

Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

#63
post #57

Went down the rabbit hole which is the overtype.dev website (nice work btw!) and found and even nicer rabbit hole - https://hyperclay.com/ Single HTML apps :). Enjoy!

This reminds me of some of the better experiments in mid-aughts Web dev, and is exactly the kind of project that helps push standards & user expectations forward.

Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

#64
post #28

Earlier quoted context omitted.

I agree with sitkack. npm (packaged software) is really handle to bundle code and keep a repo up to date. But I guess if you just want a markdown editor on a page, this is fine.

You are arguing two (subtly) different points. Not requiring npm or any build step is great. Always. Having it available to simplify integration into larger projects is also great. These two things are entirely orthogonal, even if this only does the first one.

It's fine that the points are different.

If you need to use npm in the rest of the project, which can be helpful for any project that uses front end Javascript, having one library (essentially) that uses a different mechanism is not great.

I have built many projects and while I swore at convoluted bundlers in the past, they are pretty nice these days.

Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

#66
post #57

Went down the rabbit hole which is the overtype.dev website (nice work btw!) and found and even nicer rabbit hole - https://hyperclay.com/ Single HTML apps :). Enjoy!

I don't say this often or lightly: my mind is blown.

Why is this not catching fire? Especially in the day of vibe coding this is a far better and far more effective route to app building

Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

#68
post #57

Went down the rabbit hole which is the overtype.dev website (nice work btw!) and found and even nicer rabbit hole - https://hyperclay.com/ Single HTML apps :). Enjoy!

This is coming close to WWW's original vision because the very first web browser was also an editor. Tim Berners-Lee's application on the NeXT was basically a wrapper for the operating system's built-in rich text editing class named TextView. (It later became NSTextView on Apple's Mac OS X and still powers the TextEdit app on Mac.)

We lost editing for two reasons:

1) The HTTP PUT method didn't exist yet, so edited HTML files could only be saved locally.

2) Mosaic built a cross-platform web browser that defined what the WWW was for 99% of users, and they didn't include editing because that would have been too complex to build from scratch in their multi-platform code base.

Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea

#70
post #48

912 bytes.... https://sylvainpolletvillard.github.io/spell/demo.html

what is this tom foolery. I am so amazed by it, this also seems to be a WYSIWYG but though it doesn't support markdown exactly per se but it has way more features than overtype (no offense to overtype which is also a really really cool project)

My mind is utterly blown with what you can do with 912 bytes.

I imagine that I can create a really simple blog post that can load under 14 kb so that it can be sent in a (single request?) while still having comment feature with this one while also being super fast..

So good that words can't explain lol

Post reply on HN