Lurker News

Comments (227) 69 threads

Earlier comments
novok1 reply#
I was thinking of making something similar, along with E2E encryption. Could you add it?

Basic principle is you encrypt the DB or the individual notes with an AES synchronous key with a password that you put through a KDF and then apply your sync method to the individual notes.

alecrosa#
I’ve been thinking about adding encryption, and I might in the near future. But honestly, I think for really secured notes I still prefer to keep them on device. Even with E2E.
tompagenet21 reply#
This is lovely. Really simple - this is a good thing.

I think I'm showing my ignorance as I didn't get why code blocks are surrounded by four back ticks (I thought Markdown used just one), but that's just me asking and certainly not complaining.

Stratoscope1 reply#
Markdown supports inline code with a single backtick on each side, and multiline code blocks with triple backticks above and below. Alternatively, a multiline code block can be indented four spaces.

Let me see if I can illustrate. On HN, backticks are meaningless, and code blocks require two space indents, so this should render as you would write the Markdown source:

  Here would be `inline code` delimited with single backticks.
  It translates to inline code.

  Here would be a multiline code block.
  It typically translates to
Code is here.
: ``` Code is here. ```
A multiline code block can also have a language name when it uses triple backticks, as in your example:

  ```swift
  Swift code is here.
  ```
Note that there are many flavors of Markdown! I'm describing the one you appear to be using, which is similar to what's used on Stack Overflow and other Stack Exchange sites.
tompagenet2#
Thanks very much. I'd not appreciated the flexibility of what is possible in terms of code display. Thanks for explaining and letting me understand a bit more!
baby_wipe1 reply#
It would be really cool to have an allow-plaintext-only option (and monospaced font).

I know it’s probably too late for this, and I’m probably in the minority wanting this, but markdown is too complicated for my note-taking.

alecrosa1 reply#
Just append .text to any note (.json and .md also work) :)
epse1 reply#
Wouldn't `.txt` make sense to add as well? As the historical standard extension for plain text

Load more comments