Commit 859f7957 authored by RawKStar77's avatar RawKStar77

Add code comment.

parent 329adda3
......@@ -289,6 +289,7 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc
if startMath > endMath
endMath = index + 2
try
# \\displaystyle tells KaTeX to render the math in display style (full sized fonts).
katex.renderToString($sanitize "\\displaystyle {" + textToCheck.substring(startMath, index) + "}")
catch
loadMathJax()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment