Skip to content

Commit

Permalink
fix katex
Browse files Browse the repository at this point in the history
fixes #189
  • Loading branch information
icewind1991 committed Apr 14, 2022
1 parent 000dfc0 commit efcabb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ function loadKaTeX() {
import('katex'),
import('markdown-it-texmath'),
]).then(([katex, {default: texmath}]) => {
texmath.use(katex);
console.warn(katex);
texmath.use(katex.default);
return texmath;
});
}
Expand Down

0 comments on commit efcabb0

Please sign in to comment.