How to use the idyll-components.Equation function in idyll-components

To help you get started, we’ve selected a few idyll-components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github idyll-lang / idyll / packages / idyll-docs / idyll-components / contents.js View on Github external
}
        },
        {
          Display: {
            thumbnail: 'display.png',
            component: COMPONENTS.Display,
            description:
              'This will render the value of a variable to the screen. It is mostly useful for debugging:',
            image: 'displayvar.gif',
            liveExample: true
          }
        },
        {
          Equation: {
            thumbnail: 'equation.png',
            component: COMPONENTS.Equation,
            description:
              'This uses [KaTeX](https://github.com/Khan/KaTeX) to typeset mathematical equations. Example:',
            image: 'equation.png',
            liveExample: true
          }
        },
        {
          Gist: {
            thumbnail: 'gist.png',
            component: COMPONENTS.Gist,
            description: 'Embed a github gist',
            image: 'gist.png',
            liveExample: true
          }
        },
        {