News for hackers. Stuff that matters.
Re:Show HN: Host a Website in the URL by maxbond on Thursday September 07, 2023 @02:10AM (#37415315)
You can use this trick to get a handy notepad.

    data:text/html,<html contenteditable>
I keep it on my bookmarks toolbar.
Re:Show HN: Host a Website in the URL by undebuggable on Thursday September 07, 2023 @02:30AM (#37415426)
Duh, one can load preconfigured ACE editor with syntax highlighting with it.
Re:Show HN: Host a Website in the URL by loueed on Thursday September 07, 2023 @05:07AM (#37416439)
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.

Re:Show HN: Host a Website in the URL by petabytes on Sunday September 10, 2023 @01:17AM (#37453111)
Reminds me of what I did with ChromeOS in middle school, built a whole code editor in the URL bar.