diff --git a/index.js b/index.js index 897a183..92c0866 100644 --- a/index.js +++ b/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 "

" + katex.renderToString(latex, options) + "

"; } catch(error){ if(options.throwOnError){ console.log(error); }