This isn't really WYSIWYG because it keeps the formatting symbols like * or # etc.
Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
51–60 of 102 posts
Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#52In Firefox on Android, the bold font is wider than the upright and italic fonts, breaking alignment. (It works fine in Chrome on the same Android phone. Android 16, Firefox 141.0.3)
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/font-synthe...
Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#53Anyone knows a good in browser coding editor widget? That supports color coding for different languages?
Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#54Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#55The text overlay approach doesn't work if you want width-affecting/height style changes (I assume) since that'd cause the overlay to stop matching. The downside is contenteditable cursor movement is broken for inexplicable reasons.
Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#56Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#57Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#58Re: Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
#59Nice! 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/…