Hacker News new | ask | show | jobs
by maxbond 1022 days ago
You can use this trick to get a handy notepad.

    data:text/html,<html contenteditable>
I keep it on my bookmarks toolbar.
3 comments

I also have a bookmarklet for quick notes.

> data:text/html,<html contenteditable><body style="margin: 10vh auto; max-width: 720px; font-family: system-ui"><h1>New Note

I added some basic styles so I can screenshare :D

Also in most browsers, CTRL + B, I and U work in contenteditable divs.

Reminds me of what I did with ChromeOS in middle school, built a whole code editor in the URL bar.
Duh, one can load preconfigured ACE editor with syntax highlighting with it.