Logo
ProductChangelogPricing
Try it free
Logo
Logo
DocsPrivacyTermsRSS

©Quotion 2025. All rights reserved.

Made with
  1. Post
  2. Introducing KaTeX

ProductUpdate

1 min read

Introducing KaTeX

Written by

QI

Qing

Creator, Quotion

Published on

5/10/2024

Table of contents

PreviewTech details

#ProductUpdate
Many students are using Quotion. One of the most wanted features is KaTeX for math.

Today, we're excited to share that Quotion now supports KaTeX out of the box. šŸ”„

Preview

The note:

The image showcases a Markdown document titled 'Markdown' with a section on 'Katex.' It displays a mathematical equation for lift, illustrating how lift can be determined by the lift coefficient. The overall mood is informative and technical, with a clean, minimalist design.

The post:

The image showcases a blog post titled 'markdown' on a website. The post, written by Qing, discusses the topic of Katex and includes a mathematical equation. The overall mood is informative and clean, with a focus on presenting technical content in a readable format.

Tech details

We need KaTeX css to render expressions correctly, but it is a pretty big chunk, to reduce the perf impact on unrelated pages, I loaded the css conditionally with next/dynamic, which only loads this dumb component when KaTeX is needed.

katex.tsx
import 'katex/dist/katex.min.css';
 
/**
 * Used to load katex conditionally
 */
export default function KaTeX() {
  return <></>;
}
post.tsx
const DynamicKatex = dynamic(() => import('./katex'));
 
export default function Post() {
  return (<div>
       {…otherJSX}
       {needKatex && <DynamicKatex />}
  </div>);
}

Write KaTeX in your Apple Notes, and share the Quotion post with your classmates seamlessly!

Read the doc to learn how to enable it.

Create your blogs directly from Apple Notes.

Say goodbye to complex CMS updates and management issues!

You focus on creating quality content while Quotion takes care of the rest.

Learn MoreTry It Free

Subscribe to Quotion

Get the latest posts delivered to your inbox. No spam, unsubscribe anytime.

We care about your data in our privacy policy.

Latest

More from the site

    Qing

    AppleNotes

    Apple Notes Updates 2024

    #AppleNotes iPad18 & iOS18 introduced many powerful new features for Apple Notes. Math Notes There is a new Math Notes folder in the Notes app, which you can type or write out mathematical expression

    Read post

    Qing

    AppleNotes

    How to Share Apple Notes and Collaborate with Others

    #AppleNotes Did you know you can share your notes with other iCloud users in Apple Notes? Besides, you can also collaborate with others to work on the same notes, everyone can see each other's changes

    Read post

    Qing

    AppleNotes

    Use Templates in Apple Notes

    #AppleNotes If you use Apple Notes daily like me, you may want to use templates to setup your daily notes quickly. Since Apple Notes doesn't have a built-in template feature. Here are some apps I foun

    Read post

View all posts