/
githubmirror
/
reveal.js
Обзор
Документация
Войти
/
githubmirror
/
reveal.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
plugin/math/plugin.js
17 строк
392 B
Hakim El Hattab
plugin type improvements
10 мар 2026, 14:29
10 мар 2026, 14:29
580293b
Код
Авторство
О чём код?
import {KaTeX} from "./katex"; import {MathJax2} from "./mathjax2"; import {MathJax3} from "./mathjax3"; import {MathJax4} from "./mathjax4"; const defaultTypesetter = MathJax2; /*! * This plugin is a wrapper for the MathJax2, * MathJax3, MathJax4 and KaTeX typesetter plugins. */ export default Plugin = Object.assign( defaultTypesetter(), { KaTeX, MathJax2, MathJax3, MathJax4 } );