microsoft / vscode-markdown-it-katex

Add Math to your Markdown with a KaTeX plugin for Markdown-it
Other
15 stars 16 forks source link

.default added in `tests\all.js` #5

Closed AquaBx closed 6 months ago

AquaBx commented 1 year ago

I found a problem when running the test command:

The package won't load because it now has the default extension :

image

I fixed this by adding the following lines to tests\all.js

console.log("before typescript :", mdk.default)
console.log("after typescript :", mdk)

Hope this helps 🙂