data:text/html, <html contenteditable>
Copy and paste into your browser address bar. Just bookmark that and you have a notepad with content that you can italicize, embolden, print, export, etc. I'm sure someone here can tweak this code to be even more feature-rich yet still compact. Or check the comments from the original web page.This snippet was shared a while ago on HN: https://news.ycombinator.com/item?id=5135194
javascript:(function(d){d.write('<body contenteditable style="font: 2rem/1.5 monospace;max-width:60rem;margin:0 auto;padding:4rem;">');var k = 'c'; var q = d.querySelector('body');q.innerHTML=localStorage[k];q.oninput=function(){localStorage[k]=q.innerHTML;}})(document);The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
How do I add links to this? Is it even possible? If it was markdown, I already know how to add a link, no extra thought required.
Edit: couple other thoughts: I just now realized how much I depend on the "New Tab" tab title to find new tabs in the tab bar. I realized that making the page name "Papier" is good marketing, but it makes it feel like a separate app instead of a better new tab page, and also harder to find if I open it, leave, and try to come back. Also, the page - even with no text on it - is about 150% the height of my window, and I despise unnecessary scrollbars (Chrome on Ubuntu). And it's "0 characters", not "0 character".
I'm only nitpicking because I will use this every day for the rest of my life.
Not to make you feel old or anything.
* the character after "Choose Day"
* the character before "About"
I know character isn't the right word for unicode. What is? Code point?
You might be thinking of how a single Unicode character does not necessarily map to a single byte in UTF-8 (the most common Unicode encoding). Some programming languages call a single byte variable a char or character; is that what you are referring to?
Incidentally, the U+1F918 before 'about' is not available as a glyph on my system — i.e., I don't have a font installed that has it. The creator probably uses a Mac (as evidenced by his exclusive use of ⌘).
… — …
I’m not really that condescending, I hope, but it annoys me slightly that the web browser, of all things, is expanding to be the single one program that everybody lives “inside”, when Emacs has been more suited for this task for decades. Emacs takes its role as a framework seriously (if a bit ancient in its design), but web browser developers seem to insist that browsers are for web browsing only, and even seem to be more and more hostile towards plugins and extensions, and only allow them begrudgingly; each day edging closer to being a walled garden.
Even if Emacs is not to your liking, another consequence of the web browser being the “framework” is that the programs that people use from within it are not programs, but web sites – web sites that are under the control of third parties and can change for the worse or disappear at any time. (Not to mention the lack of privacy; even with HTTPS the server operator have all the logs.) Contrast this with runnning programs in a desktop environment; the only downside there is the lack of automatic updates, and the lack of automatic access to large shared data sets. However, far from all programs can really benefit very much from these things, and even in the cases where they do benefit, at least the privacy concerns often make it worth it to do without those benefits.
Sorry for the unexpected rant.
(For those who didn’t recognize the reference: http://dilbert.com/strip/1995-06-24)
And programs in the web browser don't have to be web sites under control of third parties. My favorite example is http://tiddlywiki.com
Good luck!
The biggest "complaint" I have after 5 mins is having a quick way to jump to a new line at the bottom. You wouldn't want to override the default of the omnibar having focus, but a simple keyboard shortcut would be nice. Currently it seems I need to tab down into the page, but then that still leaves my cursor at the beginning of the document.
* A new tab with no notes has a height greater than 100% of the browser window, and adds a scrollbar. Small point, but annoying for people like me :)
* There are some issues with links: clicking could be more intuitive, and highlighting is inconsistent with certain characters. (Try pasting a YouTube link.)
Been happily using workflowy for some time. It has the ability to drill down and makes lists of lists of lists. I like to map out all my projects with it, can cross them off or add descriptions.
If you try it here I get free space:
https://workflowy.com/invite/5f5e43d.lnx
Otherwise:
Anyway, thank you for a nice note-taking service. Keep it up!