internal/warpc: Enable KaTeX mhchem extension

This commit is contained in:
Joe Mooring
2025-02-13 13:56:11 -08:00
committed by Bjørn Erik Pedersen
parent 5dd0ba00f7
commit 503dcf6252
6 changed files with 24 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
import { readInput, writeOutput } from './common';
import katex from 'katex';
import 'katex/contrib/mhchem/mhchem.js';
const render = function (input) {
const data = input.data;