Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
1–10 of 118 posts
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#2Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#3Given 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.
Alternatively, you might want to either compress the text with LZ-String before storing it[1]. (BTW, version 2.0 is currently in the works and much faster, especially if you use the "Unsafe" version[2])
[0] https://localforage.github.io/localForage/
[1] http://pieroxy.net/blog/pages/lz-string/index.html
[2] https://github.com/pieroxy/lz-string/pull/98#issuecomment-40...
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#4License Copyright (c) Mihir Chaturvedi. All rights reserved. Licensed under the MIT License.
If Mihir has all rights reserved, what's the purpose of adding MIT with it?
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#5This is interesting. Where are notes saved?
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#6How do you interpret these licensing terms: License Copyright (c) Mihir Chaturvedi. All rights reserved. Licensed under the MIT License. If Mihir has all rights reserved, what's the purpose of adding MIT with it?
Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#7Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#8How do you interpret these licensing terms: License Copyright (c) Mihir Chaturvedi. All rights reserved. Licensed under the MIT License. If Mihir has all rights reserved, what's the purpose of adding MIT with it?
MIT License starts with copyright notice:
Copyright (c)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated
documentation files (the "Software"), to deal ....Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#9Re: Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
#10> 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…
http://www.gutenberg.org/ebooks/1342
:)