Skip to content

v0.14.0

Compare
Choose a tag to compare
@KaTeX-bot KaTeX-bot released this 30 Oct 19:26
· 216 commits to main since this release

0.14.0 (2021-10-30)

Features

BREAKING CHANGES

  • With module loaders that support conditional exports and ECMAScript modules, import katex from 'katex'; will import the ECMAScript module.

You can now use:

Before After
require('katex/dist/contrib/[name].js') require('katex/contrib/[name]')
import katex from 'katex/dist/katex.mjs' import katex from 'katex'
import 'katex/dist/contrib/[name].mjs' import 'katex/contrib/[name]'