Comments (3)
Hi @banrovegrie. Sorry for not getting back to you sooner. It seams to be a problem related to MathJax v3. There is an open issue about this on MathJax project. KaTeX seams to be the solution used by Notion project and it may feat better. I will consider migrate from MathJax to KaTeX on future releases.
In the mean time, you are free to open a PR or you may get only the html output from Notion page conversion and implement KaTeX on it.
Thank you for your report :)
from notion-page-to-html.
Hi, @banrovegrie. Thank you for your report. Could you give some output example or public page where the problem is happening?
from notion-page-to-html.
Hey @asnunes, sorry for the late reply. Here, is an example of the rendering problem.
In one of the equations in the page, if you see the Tex Command its given as follows, but there is no line-break rendered.
a_0 = (a+d)/2,\ a_1 = (b+c)/2,\\ a_2 = (c-b)/2i,\ a_3 = (d-a)/2
I think the problem is that Block Equation
in Notion allows \\
, but MathJax doesn't allow multi-line equations. In that case, KaTeX might be a better option because its typesetting matches Notion's and it's probably faster too at rendering.
from notion-page-to-html.
Related Issues (18)
- Bug with uploaded images HOT 3
- Unexpected token e in JSON at position 0 HOT 1
- Outputs the contents of nested pages too HOT 3
- Example?
- feature request: Method to convert Notion RichText to html HOT 1
- 404 on every page I've tried so far HOT 3
- Error when inputting a page that has an uploaded cover image HOT 1
- Unable to find any public page NPM latest HOT 2
- it doesnt work HOT 3
- Regex to adapt HOT 1
- Databases and table support HOT 1
- resume releases? HOT 1
- Subpages Support HOT 1
- Some pages have incorrectly rendered images
- The link of my public Notion page doesn't work HOT 1
- Code formatting in Notion, not always well rendered.
- Private pages? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-page-to-html.