Comments (5)
Thank you very much, it works!. I think this should be enabled by default because equation is an important element of Notion, especially for students.
By the way, does this project support sitemap?
from nextjs-notion-starter-kit.
Hey @yanyanlongxia, equations are supported but you need to opt into using them because Katex is a heavyweight dependency.
See my answer here: NotionX/react-notion-x#20
Let me know if you think this should be enabled by default and if you run into any issues getting it to work.
from nextjs-notion-starter-kit.
Awesome -- I'll look into adding equation support by default. The key is to keep it lazy loaded so it doesn't add anything to pages which don't use equations.
Sitemaps aren't supported yet (you can add a manual one to public/sitemap.xml
), but I'll be adding sitemap soon in #39
from nextjs-notion-starter-kit.
I just updated the default to have equations enabled by default (but loaded via next/dynamic
).
I still think you should opt into adding the Katex CSS since that's harder to lazy load. What do you think?
from nextjs-notion-starter-kit.
Yes, lazy load is also necessary since we often use a lot of equations.
from nextjs-notion-starter-kit.
Related Issues (20)
- All images fail to load!! 400: BAD_REQUEST HOT 3
- External Link Preview fails: google drive link HOT 1
- Error: Something went wrong installing the "sharp" module HOT 6
- to Lower Case error
- Continuous Build and Deployment Challenges in Next.js Notion Project
- Limit fetch to teamspace or rootNotionPageId children HOT 4
- Discourse as Comment System
- Is there any possible method that it can display 2 different gallery in blog page & the tag can be link
- How to add TOC in the mobile phone
- Multilingual per post instead of per site?
- Is it possible to generate OGP Image that the size lower than 1MB? HOT 1
- 45 Minute
- Even non-existent pages return 200 OK http status code
- How to display the time create by "Date or reminder"?
- Bug: Publish date on website homepage is one month earlier than specified in Notion database, when it is set to be the first day of any month HOT 2
- After using Vervel to build, the Search function fails
- AWS Amplify has an error in deployment HOT 1
- Fix Font size
- Configure site.config.ts with env variables
- [Question] Og image is empty when sharing url link
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 nextjs-notion-starter-kit.