parent
a89d306414
commit
fd1ff4d148
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -152,7 +152,7 @@ module.exports = function math_plugin(md, options) {
|
|||
var katexBlock = function(latex){
|
||||
options.displayMode = true;
|
||||
try{
|
||||
return katex.renderToString(latex, options);
|
||||
return "<p>" + katex.renderToString(latex, options) + "</p>";
|
||||
}
|
||||
catch(error){
|
||||
if(options.throwOnError){ console.log(error); }
|
||||
|
|
Reference in a new issue