Live data from Hacker News

Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown

github.com

61–70 of 118 posts

Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown

#61
I just have a bookmarklet. If you're writing something so detailed it needs formatting, you shouldn't be doing it in a browser tab.

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}}

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...

I just checked MDN, since I've had problems with html5rocks tutorials being outdated due to specs changing in the past (not related to localStorage though), but all pages I can find on it seem to overlook the whole quota aspect[0]. However, the Chrome dev page on the topic[1] mentions this:

> 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

[1] https://developer.chrome.com/apps/offline_storage

Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown

#63
post #52

I just use the papier chrome extension. Same exact thing except it actually displays styles and is easier to install. https://getpapier.com/

Not open source though, as far as I can tell. Also, and I know this is stupid, but any website this fancy for a simple extension makes me a bit suspicious.

Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown

#64
Dear HN - you might be interested in Write.Pub (http://write.pub) It has both a WYSIWYG and raw markown editing mode. The USP is built-in git - if you ever wanted to showcase the power of version control to a non-programmer, but didn't want to put them through a git bootcamp, this might be the right tool for a common use case - note taking and writing

Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown

#65

Serious 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 recently started taking notes in markdown. I previously had notes scattered across txt files, Word docs, ColorNote, and emails to myself.

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

#67

Why 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?

You should try Dropbox's Paper. It is one of the most enjoyable writing experiences I have seen.

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

#69

Why 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?

They do it because they don't know about org mode

Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown

#70

Why 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.

It really is intended to mimic the basic formatting of ye olde plain text writing. Or, at least one style of it.
Post reply on HN