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

[Notion] Table of Contents import does not work correctly #337

Open
tooxo opened this issue Dec 17, 2024 · 2 comments
Open

[Notion] Table of Contents import does not work correctly #337

tooxo opened this issue Dec 17, 2024 · 2 comments

Comments

@tooxo
Copy link

tooxo commented Dec 17, 2024

I know that there is no built-in table of content feature in obsidian, so it won't work correctly anyway, but the Notion Table of contents should be imported with links to the sections

Notion Obsidian
image image

The TOC contents are just plain text while it should be of the format: [[#<subtitle name here>]] and they should be indented the same way that the notion one is.

@felciabatta
Copy link
Contributor

felciabatta commented Dec 17, 2024

Yea I've noticed this too.
Also, I don't think we can indent exactly like Notion — the closest is putting it in a bullet list, which should be good enough.

@felciabatta
Copy link
Contributor

@tooxo I now have a solution for this!

Just need to run a few tests and then I'll submit a pull request :)

felciabatta added a commit to felciabatta/obsidian-importer that referenced this issue Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants