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

    ProductUpdate

    Post visibility and search engine indexing controls

    #ProductUpdate We're excited to introduce new features that give you more control over your posts! Post visibility Control whether posts appear in your site's content listing while remaining accessibl

    Read post

    Qing

    ProductUpdate

    Post scheduling and published date editing

    #ProductUpdate We’re excited to announce 2 new features: you can now schedule posts to go live at a specific time and edit the published date of your posts! How to schedule a Post Need to announce som

    Read post

    Qing

    ProductUpdate

    Layout editor

    #ProductUpdate 🔥 I'm so excited to announce that the layout editor is live now. You can easily edit your site layout inside the design page, home note is no longer needed! All home note functionalit

    Read post

View all posts