Headers in markdown to become parent blocks

Most markdown editors structure content more or less like this:

# title

## header

Paragraph

- point 1
- point 2

Logseq quickly wants to convert it to something similar to:

- # title

- ## header

Paragraph

- point 1
- point 2

This is understandable, but there is a problem: logseq treats “header” (merged with “Paragraph”), “point 1” and “point 2” as siblings when in fact I would expect “header” to be a parent of all three: paragraph, point 1 and point 2.

I believe this was an intent of this post - I do not understand why it was moved to outline overview. @pihentagy, do you agree?

I understand that supporting both headers (##) and lists (-) would needlessly complicate syncing between logseq database and markdown files.

However, is there a way to import standard markdown into logseq in a way that would use headers as parent blocks?

3 Likes

Am I missing something, or is this still an issue in 2024? Maybe there is some configuration option for this?

I also expected it to threat headings as hierarchy markers without actually changing the underlying markdown. I don’t think that - ## title is even a valid markdown in the way most other editors understand it. So when Logseq adds bulletpoints everywhere without the real need, it makes the documents unusable in other applications.

I just found this thread with some very relevant discussion, but no conclusion: