site/node_modules/rehype-mathjax/lib/create-adapter.default.js

7 lines
180 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import {JSDOM} from 'jsdom'
import {jsdomAdaptor as jsdomAdapter} from 'mathjax-full/js/adaptors/jsdomAdaptor.js'
export function createAdapter() {
return jsdomAdapter(JSDOM)
}