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 post:
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.
import 'katex/dist/katex.min.css';
/**
* Used to load katex conditionally
*/
export default function KaTeX() {
return <></>;
}
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!
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.
Latest
More from the blog
Qing
SEO
Host a Quotion site in a subdirectory of your domain
You can host <your-site>.quotion.co in a subdirectory of your domain now. Real-world examples: https://quotion.co/blog (This blog) https://www.awesomeapplenotes.com/blog Before I dig into the details, you may wonder why do I need this? Well, according to semrush, subdirectories have fully benefits from the backlinks, which is good for SEO. Sounds wonderful? Let's get started! 0. Cloudflare
Read post
Qing
Layout editor
🔥 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 functionalities, like logo, favicon, hero, headerLinks, footerLinks and copyright are fully supported. The best part is you can preview the changes
Read post
Qing
Introducing Realtime Preview
Today, we're excited to announce, Quotion supports Realtime Preview now. You can preview your latest changes on your Quotion sites in realtime, no more refresh your page manually. Demo :::note Click any pen links will load your site in realtime preview mode. You don't need to click every post via the pen. ::: Checkout our
Read post