Files
classroomio/apps/docs/content/docs/use-math-in-editor.mdx
T
Rotimi Best 81294a47f9 feat: live class sessions, CE workflow, and docs (#683)
Adds live-class session scheduling on lessons (join link, date/time,
timezone) with automatic 24h and 1h reminder emails plus a calendar
invite (.ics), a time-change notification with an updated invite, a
teacher-authored welcome email and session invite on enrollment, and a
"Notify students" quiz nudge.

LMS gets an upcoming live-sessions card and Join buttons, plus a
reusable live-session card component (3 states) in @cio/ui with a
Storybook story. The sidebar content tree now reflects sequential
progression locking like the content list, and the course-completion
confetti regression is fixed.

Org-based emails no longer reference ClassroomIO by name. Docs add
live-class, welcome-email, and course-progression guides, expand the
certificates guide (design, signatures, corrected labels), move
plan-required callouts to the top, flatten how-to-guides to the docs
root with redirects, and add screenshots. Includes an add-docs-image
skill.
2026-06-22 05:43:48 +01:00

44 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Use Math in the Editor
description: Add and edit LaTeX math blocks and inline expressions inside the ClassroomIO rich text editor.
---
import { Step, Steps } from 'fumadocs-ui/components/steps';
ClassroomIO’s rich text editor includes built-in math support with KaTeX rendering. You can insert inline expressions, add block equations, and edit them later without extra setup.
<Steps>
<Step>
### Insert inline math
- Type `$$your-latex$$` to instantly convert it into inline math.
- Or open the toolbar and click **Inline Expression** (radical icon). If you have text selected, it becomes the LaTeX body.
</Step>
<Step>
### Insert block math
- Use the toolbar **Block Expression** (square root icon) or the `/` slash menu and pick **Math → Block Expression**.
- A block equation appears on its own line; replace the default `a^2 + b^2 = c^2` with your LaTeX.
</Step>
<Step>
### Edit an existing equation
- Click any math node (inline or block). A prompt appears with the current LaTeX.
- Update the LaTeX and confirm to re-render the expression.
</Step>
<Step>
### Quick tips
- Inline math stays within a sentence; block math is best for standalone equations or derivations.
- Use standard KaTeX/LaTeX syntax (fractions, roots, superscripts/subscripts, Greek symbols, etc.).
- You can mix math with other formatting, tables, and media in the same document.
</Step>
</Steps>