Add id to decorateCooked API call for KaTeX as well
This commit is contained in:
parent
e509c6f6e4
commit
23ab984862
|
@ -42,9 +42,12 @@ function katex($elem) {
|
|||
}
|
||||
|
||||
function initializeMath(api) {
|
||||
api.decorateCooked(function(elem) {
|
||||
katex(elem);
|
||||
});
|
||||
api.decorateCooked(
|
||||
function(elem) {
|
||||
katex(elem);
|
||||
},
|
||||
{ id: "katex" }
|
||||
);
|
||||
}
|
||||
|
||||
export default {
|
||||
|
|
Loading…
Reference in New Issue