GithubHelp home page GithubHelp logo

Comments (11)

duel0 avatar duel0 commented on June 26, 2024 1

Glad to hear that. I think you should opt for the regular document structure with no toggles: in fact, on Notion it's pretty easy to convert a heading to a toggle heading with already indented blocks. I think it should be easier for you as well.

from logseq-notion-sync.

b-yp avatar b-yp commented on June 26, 2024 1

I'm really sorry. I wasn't able to fix this issue last night. Initially, I was thinking of handling the titles and content as different cases, with the text content being presented in notion as a bulleted list. However, the actual implementation turned out to be quite complex. After struggling with it for a while, I gave up and temporarily removed all levels, directly syncing to Notion. There are still some issues now, such as Notion only supporting up to three levels of headings. I'll fix it when I have some free time later on.

from logseq-notion-sync.

b-yp avatar b-yp commented on June 26, 2024 1

Thank you. Work together and make progress together.

from logseq-notion-sync.

duel0 avatar duel0 commented on June 26, 2024

image
image

from logseq-notion-sync.

b-yp avatar b-yp commented on June 26, 2024

Hello, in Logseq, when the indentation goes beyond 3 levels and you try to invoke Notion's API, an error occurs. This might be because I've converted the indentation in Logseq into toggle lists in Notion. Perhaps I shouldn't have done it this way?

from logseq-notion-sync.

duel0 avatar duel0 commented on June 26, 2024

Hello, I tried with just 1 level of indentation. With no headings it's fine, it successfully converts to toggle lists. With headings maybe they should be converted to heading-toggle lists. I don't know if by avoiding the conversion to toggle list the problem could be solved. What do you think?

from logseq-notion-sync.

b-yp avatar b-yp commented on June 26, 2024

I think you're right. I just realized what you mentioned – the issue of having a title with no content – and it's not related to the problem of having three levels of indentation that I mentioned earlier. Perhaps I should convert them into heading-toggle lists instead of toggle lists. If I have time tonight, maybe I'll work on fixing it.

from logseq-notion-sync.

b-yp avatar b-yp commented on June 26, 2024

Alternatively, I think we could completely abandon toggle lists and use a regular document structure.

from logseq-notion-sync.

duel0 avatar duel0 commented on June 26, 2024

Take your time man, I appreciate your effort!

from logseq-notion-sync.

b-yp avatar b-yp commented on June 26, 2024

from logseq-notion-sync.

duel0 avatar duel0 commented on June 26, 2024

Sleep well man, I am just getting started in Software Development, otherwise I could have given you more detailed suggestions in code!

from logseq-notion-sync.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.