Quick Start
Create a ProjectEdit a PageLink to a PageSet a TemplatePrepare for SEOPublish to the WebSet up a Custom DomainBasics
Project StructureMarkdownJSXMDXMarkdocES ModulesCSS StylingTailwind CSSMetadataLayout and Design
LayoutsTemplatesResponsive DesignsUsing ColorsTypographyMathematicsPublishing
SEO and SharingCustom DomainsAnalyticsSitemapsFaviconsGuides
WebflowNotionFramerConfiguration
motif.jsontailwind.config.jsmain.cssApp
Keyboard ShortcutsSlash CommandsInstant SearchOffline AccessDistraction-Free WritingReal-Time CollaborationDesktop AppAdvanced
Motif APIUsing KaTeX to typeset mathematical equations.
Motif uses to render mathematical equations in the browser. In order to enable it in your project, the Katex stylesheet needs to be added to your pages. This is done by including the following to your motif.json
config's head
section (to access it, open search using ⌘P and type motif.json
):
{
"head": [
"<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css' crossorigin='anonymous' />",
"..."
]
}
Inline equations are delimited by a single $
sign:
An inline equation: $i = \sqrt{-1}$.
Standalone equations are delimited by two $
signs:
$$
\int_0^\infty \frac{\sin x}{x} dx = \frac{\pi}{2}
$$
© 2022 Motif Land Inc. All rights reserved. This site is built with Motif.