Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeply nested lists rendered flat #6

Open
chodorowicz opened this issue Jan 19, 2019 · 6 comments
Open

Deeply nested lists rendered flat #6

chodorowicz opened this issue Jan 19, 2019 · 6 comments
Labels
bug Something isn't working enex Issue related to the Enex provider html Issue related to the HTML provider

Comments

@chodorowicz
Copy link

First of all thanks for the tool. I'm in the process of migrating Evernote notes to markdown so your tool could be very helpful.

One thing I have problem with is that after doing enex-dump my note's nested lists are flat in markdown format. Is it a know problem or am I doing something wrong?

Thanks 🙇

@fabiospampinato
Copy link
Member

@chodorowicz can you post an .enex file that I can use to reproduce the problem?

@chodorowicz
Copy link
Author

Here it is. Thanks!
Github is blocking .enex extension upload, I've changed extension to txt.
test.txt

@fabiospampinato
Copy link
Member

This seems to be an upstream issue mixmark-io/turndown#272

@chodorowicz
Copy link
Author

I see... Damn Evernote. It's producing malformed HTML, haven't noticed that at first sight. I won't expect really that to be fixed by turndown.
It seems migration from Evernote will require more manual fixed than expected.
When I'm converting Evernote to markdown via Typora the output is bit better but still not perfect. Sth like this is produced.

- first level
- - second level

Anyway, thanks a lot for looking into this issue 🙇

@fabiospampinato
Copy link
Member

Maybe something like - - second level could be fixed with a simple regex.

@chodorowicz
Copy link
Author

True! I will do it probably in that way.

@fabiospampinato fabiospampinato transferred this issue from fabiospampinato/enex-dump Jul 22, 2019
@fabiospampinato fabiospampinato added enex Issue related to the Enex provider html Issue related to the HTML provider labels Jul 22, 2019
@fabiospampinato fabiospampinato changed the title Problem with nested list Deeply nested lists rendered flat Jul 22, 2019
@fabiospampinato fabiospampinato added the bug Something isn't working label Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enex Issue related to the Enex provider html Issue related to the HTML provider
Development

No branches or pull requests

2 participants