Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Render LaTeX in Elm with KaTeX

This package provides a light wrapper over the KaTeX library by Khan Academy.

Example usage

Basic Usage

integral : Html msg
integral =
    KaTeX.render """
  \int_0^\infty x\,\mathrm{d}x.
  """

Note!

This library produces elements with the correct KaTeX classes, but does not include the requisite style sheet to properly display them. Make sure to include the KaTeX css with your app via downloading it here or including a link to a CDN.

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.css">

About

LaTeX in Elm

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages