Temporary change to wait for cached frontend
This commit is contained in:
parent
627cf37996
commit
427e391416
2 changed files with 9 additions and 7 deletions
|
@ -65,5 +65,5 @@ class MathRenderer(mistune.Renderer):
|
|||
|
||||
def math(self, math):
|
||||
if self.mathoid is None or not math:
|
||||
return r"$%s$" % mistune.escape(str(math))
|
||||
return r"~%s~" % mistune.escape(str(math))
|
||||
return self.mathoid.inline_math(math)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue