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

MS Word only supports 9 levels of bullets #126

Open
nixsee opened this issue May 10, 2022 · 5 comments
Open

MS Word only supports 9 levels of bullets #126

nixsee opened this issue May 10, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@nixsee
Copy link

nixsee commented May 10, 2022

Bug

Hi guys, I'm back after a long time away from markdown! I finally tried your improvements and it is fantastic!

I've noticed one bug that is inherent to Word and pandoc... Word only supports 9 levels of bullets. If you export a OneNote page that has more than that, the resulting word doc actually does show all levels. However, the final markdown file cuts it at 9 levels and moves the remaining levels to level 1, 2, 3, etc... In fact, it completely destroys the nesting that follows it.

Expectation

The final markdown nested levels match the levels in OneNote

Discussion

The markdown contains some sort of divider symbol where it cuts off the 9 levels.

This:

image

ends up like this:
image

Perhaps we could somehow look for any <!-- --> sections and remove them and indent what follows? I really don't know

@nixsee nixsee added the bug Something isn't working label May 10, 2022
@leojonathanoh
Copy link
Member

@nixsee sorry i took this long, this is an edge case, normally notes won't be this nested. But if there's that limitations in Word docs, then there's really nothing much we can do about this. Do you really have such a nested page, or is this just a test of the limits of the conversion? Haha

@leojonathanoh leojonathanoh self-assigned this Jul 7, 2022
@nickchomey
Copy link

I've got a ton of pages like this. I just write bullets/outlines in a stream of consciousness, one thought/bullet following from another. But, yes, it's probably an edge case and not much we can do about it...

@leojonathanoh
Copy link
Member

leojonathanoh commented Jul 7, 2022

it will probably be easier to split up the nested notes manually. But this is really a limitation on the part .docx, which should not limit the amount of nesting, even if it's not renderable on a single page.

@nickchomey
Copy link

Agreed. I already manually refactored the big notes and should just get into the habit of doing that more often. Though now that I'm on markdown, its not really a limitation. Its also easier to create nested notes with the wikilinks capabilities of most markdown tools, like Obsidian.

Lets just close this issue...

@leojonathanoh
Copy link
Member

I'd think one way about this converting to another format other than .docx that preserves all levels of bullet lists, e.g. .html (the only issue is .css styles are separated and hence formatting is lost, but the markup of <li></li> will still be there. Even if one uses such a format, that will mean one will have to select all pages to use .docx except for certain pages that will use that format, which is going to be difficult.

perhaps someone might come up with something innovative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants