EasyChris / obsidian-to-notion

Share obsidian markdown file to notion and generate notion share link 同步obsdian文件到notion,并生成notion分享链接,可以方便的分享obsidian的文件。
GNU General Public License v3.0
458 stars 35 forks source link

Issue with Syncing Documents Containing Deep Bullet Points or Links #66

Open kocheck opened 5 months ago

kocheck commented 5 months ago

Description:

There's an issue observed when syncing documents using our plugin, especially when:

  1. A document contains bullet points nested more than 4 levels deep.
  2. The document includes any form of link, either a plain www.domain.com or Markdown-styled link [my link](www.domain.com).

When users attempt to sync such documents, the plugin throws a 400 error. However, when these links are put inside a code block, like www.domain.com, the error does not occur. Similarly, documents with deep bullet points sometimes sync correctly upon re-attempting with the plugin, though the reasons for this inconsistent behavior are unclear.

Steps to Reproduce:

  1. Create a document with bullet points nested more than 4 levels deep or include a plain or Markdown-styled link in the document.
  2. Attempt to sync the document using the plugin.

Expected Result:

The document syncs successfully without any errors.

Actual Result:

A 400 error is thrown during the syncing process.

Logs:

SYSTEM INFO:
    Obsidian version: v1.5.12
    Installer version: v1.5.8
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Base theme: adapt to system
    Community theme: none
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 14
    Plugins enabled: 11
        1: Paste URL into selection v1.7.0
        2: Linter v1.23.2
        3: Importer v1.6.1
        4: Advanced Tables v0.21.0
        5: Things3 Sync v1.2.3
        6: Highlightr v1.2.2
        7: Obsidian shared to Notion v0.7.6
        8: Update time on edit v2.4.0
        9: Reveal Active File Button v2.0.3
        10: Calendar v1.5.10
        11: Iconize v2.11.9
freestylefly commented 1 month ago

I also encountered this problem and asked the developer for help