site/node_modules/rehype-mathjax/lib/create-adapter.default.js
2024-10-14 08:09:33 +02:00

7 lines
180 B
JavaScript

import {JSDOM} from 'jsdom'
import {jsdomAdaptor as jsdomAdapter} from 'mathjax-full/js/adaptors/jsdomAdaptor.js'
export function createAdapter() {
return jsdomAdapter(JSDOM)
}