streetwriters / notesnook-importer

Import your notes from any app into Notesnook
https://importer.notesnook.com/
GNU General Public License v3.0
48 stars 9 forks source link

Logseq importer #10

Open fabianski7 opened 1 year ago

fabianski7 commented 1 year ago

What problem are you facing?

When a .md file exported from Logseq is imported using the Notesnook tool, the note is not formatted using the Outliner block of the editor.

https://i.imgur.com/UjUutlk.png

What's the solution you'd like to see in Notesnook?

Since Notesnook supports outliner style formatting, I would expect the imported file to continue to be formatted in this way.

https://i.imgur.com/23ruI1X.png

What alternatives have you considered?

No response

Additional context

No response

thecodrr commented 1 year ago

Hey, Logseq is not in the list of supported apps which is why this won't work. Can you upload some example Markdown files that utilize all of Logseq functionality so I can implement a converter for it?

fabianski7 commented 1 year ago

Here is an example https://paste.myst.rs/raw/xije1inx/7sqxfr3p

id:: seems to be internal to logseq and can therefore be ignored, but collapsed:: is useful information, in my opinion.

Also, it uses markdown.

fabianski7 commented 1 year ago

I almost forgot. In the example, many lines have the indicator DONE, which is a task.

In logseq you can choose between managing tasks using the NOW/LATER and TODO/DONE tags. I think that NOW, LATER and TODO could be treated as unfinished tasks, and DONE is obviously a finished one.

Oh, and the file extension is .md

thecodrr commented 1 year ago

I checked Logseq and it seems they support exporting to JSON which is a much better format for importing. I think it'll be a better idea to support that instead of hardwiring the markdown format.

candideu commented 2 months ago

+1 for this