GithubHelp home page GithubHelp logo

md2notion_api_version's Issues

the underline in equation is replaced by *

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} $$

Key Error: "Name"

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'

Unbalanced math delimiters in the input string.

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.

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.