Live data from Hacker News

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

news.ycombinator.com

31–40 of 102 posts

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

#31
Nice! Seems very useful if you can drop in and have everything work.

Nitpicking a bit: it's not as much _rendering_ markdown as it's _syntax highlighting_ it. Another interesting approach there could be to use the CSS Custom Highlight API [0]. Then it wouldn't need the preview div, and perhaps it'd even be possible to have non-mono fonts and varying size text for headers.

[0] https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_...

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

#32
As it is, and without the toolbar, this really reminds me of how this[0] neovim plugin renders Markdown in the terminal. One of its nice features is doing syntax highlighting inside fenced code blocks (through tree-sitter I believe).

[0]: https://github.com/MeanderingProgrammer/render-markdown.nvim

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

#33
I used exactly the same approach years ago working on code editor with js evaluation - http://labs.onether.com/javascript-sandbox/ (this is some old version only with whitespace characters, it also had syntax highlighting but i couldn't find it).

Anyway, nice work mate.

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

#34
would absolutely love this for a personal note-taking project, but having image support and some sort of auto-completion for commands, lists, tags etc is crucial for something i'd use every day on desktop and mobile. Still love seeing more options for different purposes.

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

#36

If it were a WYSIWYG editor, there'd be previews for images. But it seems like it's just syntax highlighting for textareas. Nice project either way, but false advertising.

I didn’t see an option for images. Am I missing something?

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

#38

If it were a WYSIWYG editor, there'd be previews for images. But it seems like it's just syntax highlighting for textareas. Nice project either way, but false advertising.

I didn’t see an option for images. Am I missing something?

I assume that was the point. The parent commenter feels "WYSIWYG" by definition includes images.

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

#39
I thought it should be extremely portable ("everything just works, it's native"), but it doesn't work on iOS 9.3.6. It doesn't even let me input text into the textarea...

A natural extension seems to be a source code editor with syntax highlighting, like those used in https://marimo.io/, Jupyter, https://plutojl.org/ and other notebook-like Web editors.

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

#40

This is pretty awesome. Now I’m just a dumbo sysadmin with limited webdev/JS skills, so is there a high level way to integrate this into a site so that it could create MD files that could be saved server side?

Most JS/TS runtimes have filesystem modules, at it's simplest/least secure you could implement it with client-side fetch and:

On get request - find matching .MD file and return

On put request - write to given location

Post reply on HN