idyll-langidyll
DocsTutorialsGalleryEditor
menu

Overview

  • Introduction
  • Getting started
  • Markup syntax
  • HTML tags
  • Options and styles
  • Plugin system
  • Multipage template

Interactivity

  • Built-in components
  • Using components from npm
  • Make your own component
  • Scrolling and Refs

Publishing

  • Deploying to the web
  • Embedding Idyll

Useful Links

  • Github
  • Chat
  • Twitter
  • Support Us
← Back

Equation

This uses KaTeX to typeset mathematical equations. Example:

Input:

[Equation]
  y = \int x^2 dx
[/Equation]

Output:

Props

  • latex expression

    Set the latex to be shown. Can be driven by an expression to allow for dynamically updated equations.

    • Example: `"x = " + x`
    • Default value: "x"
  • display boolean

    Set to true for a centered, standalone equation, set to false for an inline equation.

    • Example: true
    • Default value: false