md2notion_api_version
md2notion_api_version copied to clipboard
Use Notion API to upload .md file to notion.so for typora writing style.
### Problem When uploading Markdown files containing LaTeX math expressions to Notion via `NotionPyRenderer`, expressions like the one below are incorrectly rendered: ``` - expressions: $$\hat{\boldsymbol{x}}_{\sigma_{t}}=\hat{\boldsymbol{x}}_{\sigma_{t}} \odot(1-\mathbf{m})+\boldsymbol{x}_{\sigma_{t}} \odot \mathbf{m}$$ ```...
I find the equation: ``` $$ \mathbf{L}_{\mathbf{X}}\chi_{xx^{\prime}}^{-1} $$ ``` $$ L_{X}\chi_{xx^{\prime}}^{-1} $$ will be turned into ``` $$ \mathbf{L}*{\mathbf{X}}\chi*{xx^{\prime}}^{-1} $$ ``` $$ L*{X} \chi*{xx^{\prime}}^{-1} $$
Note, Notion API can deal with ID like `88c52f937663497d93b245934c741f39` directly now.
- Fix the trailing empty line between paragraph and equation block. - Fix the Math equation broken issue. - Trailing whitespace after `\\` leads to error parsing. - Incorrectly recognize...
换其他图床可以吗
比如github或者gitee
uploading line 60,............Traceback (most recent call last): File "main.py", line 44, in upload_single_file(filepath, client, uploader, start_line = start_line) File "main.py", line 30, in upload_single_file uploader.uploadBlock(content, client.notion, page_id) File "md2notion_api_version\uploader.py", line...
I got the following error while uploading: ``` Traceback (most recent call last): File "E:\OneDrive - zju.edu.cn\桌面\md2notion\md2notion_api_version\main.py", line 40, in client = NotionSyncDatabase(connection_key, database_id) File "E:\OneDrive - zju.edu.cn\桌面\md2notion\md2notion_api_version\NotionClient.py", line 12,...