veya2ztn / md2notion_api_version Goto Github PK
View Code? Open in Web Editor NEWUse Notion API to upload .md file to notion.so for typora writing style.
Use Notion API to upload .md file to notion.so for typora writing style.
比如github或者gitee
I find the equation:
$$ \mathbf{L}_{\mathbf{X}}\chi_{xx^{\prime}}^{-1} $$
will be turned into
$$ \mathbf{L}*{\mathbf{X}}\chi*{xx^{\prime}}^{-1} $$
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 <module>
client = NotionSyncDatabase(connection_key, database_id)
File "E:\OneDrive - zju.edu.cn\桌面\md2notion\md2notion_api_version\NotionClient.py", line 12, in __init__
if len(page['properties']['Name']['title'])==0:continue
KeyError: 'Name'
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 295, in uploadBlock
content_block = self.blockparser(content,new_name)
File "md2notion_api_version\uploader.py", line 75, in blockparser
"rich_text": self.sentence_parser(part)
File "md2notion_api_version\uploader.py", line 156, in sentence_parser
raise ValueError("Unbalanced math delimiters in the input string.")
ValueError: Unbalanced math delimiters in the input string.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.