data:text/html;charset=utf-8,Notepadbody{background:#fbfbfb;color:#333;margin:0 auto;width:60rem}textarea{background:#fbfbfb;border:0;color:#333;font-family:monospace;font-size:1.5rem;height:98%;line-height:1.2;margin:0 auto;outline:0;padding:4rem;width:100%}@media (max-width:768px){body{width:100%;padding:0}textarea{padding:10px}}
Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
61–70 of 118 posts
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#62> The code makes use of localStorage() to save the raw text and the time and date of when the edit has been made. Given that localStorage only has 5MiB available to it, you could try using the localForage library to have a localStorage-like API around IndexedDB, so that people can store even larger notes (you could even support storing pasted images as PNG blobs). Even better: is has automatic localForage fallback. A…
I am pretty sure you can ask the user to use more and 5mb is just the mobile default for a site. https://www.html5rocks.com/en/tutorials/offline/quota-resear...
> Unlimited storage is similar to persistent storage, but it is available only to Chrome apps and extensions (.crx files). The size of unlimited storage is limited only by the availability of space in the user's hard drive. You can ask for the unlimitedStorage permission in the manifest file for an app or extension. At installation, the user is informed of permissions required by the app or extension. By proceeding with the installation, the user implicitly grants permission for all pages whose URLs are listed in the manifest.json file.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Storage
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#63I just use the papier chrome extension. Same exact thing except it actually displays styles and is easier to install. https://getpapier.com/
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#64Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#65Serious question: does anyone regularly use a Markdown notes app/site/extension? I've seen this kind of thing appear a few times a year and, while they are cool and I like Markdown, I find I stop using them rather quickly in favor of things like the macOS Notes app or Slack because of things like convenience, ease of sharing, better search, more ease of mind that my notes won't one day disappear because of a side eff…
I take journal-type notes about personal things, and I demand that I have them available conveniently decades from now. I strongly prefer a dark theme. I was going to jump ship entirely to OneNote, but I can't get a dark theme on Desktop and mobile.
Moving to markdown has tremendous benefits. You have proper separation of concerns- "how do I edit on X platform" vs "how do I store my notes".
For storage, I've considered a git repo, but I'm using Dropbox for now. It has 30 day history, so I can correct for any mistake I'd care about.
For editing, I pick an editor on my current platform. Atom on Desktop. IA writer on Android.
I don't currently have great search, but I think I can do that with Dropbox. I'm more concern about future-proofing and dark theme.
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#66I just use the papier chrome extension. Same exact thing except it actually displays styles and is easier to install. https://getpapier.com/
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#67Why would you use markdown to take notes? Markdown is designed to be displayed as rich-text (headings, lists, etc) after authoring. If you only ever view it in plaintext as an editor, what's the point?
It's markdown compatible so you write in markdown and the text is automatically formatted while you type. It's really clever fix for the problem you are describing
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#68Dropbox Paper does that really nicely.
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#69Why would you use markdown to take notes? Markdown is designed to be displayed as rich-text (headings, lists, etc) after authoring. If you only ever view it in plaintext as an editor, what's the point?
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#70Why would you use markdown to take notes? Markdown is designed to be displayed as rich-text (headings, lists, etc) after authoring. If you only ever view it in plaintext as an editor, what's the point?
Nit: Markdown was designed to look good both when displayed as Rich Text, and when displayed as plain text. The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.