Skip to content

Notion code blocks are imported without line breaks #82

@smpb

Description

@smpb

Greetings.
When using the importer on a Notion backup, code blocks that span multiple lines are erroneously recreated as a single line of text.

For example, this is a page with a couple of code blocks in Notion:
Notion Screenshot

And this is the result of importing that same page to Obsidian:
Obsidian Screenshot

I believe this to be an incorrect behaviour since it invalidates the formatting and indentation of every single code block in a vault, and would greatly appreciate a way to have it behave the expected way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions