Skip to content

Commit

Permalink
Merge 4a6b796 into b911e5b
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbresten committed Dec 21, 2023
2 parents b911e5b + 4a6b796 commit 23ff1b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mistletoe/latex_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ def render_auto_link(self, token):
self.packages['hyperref'] = []
return '\\url{{{}}}'.format(self.escape_url(token.target))

@staticmethod
def render_math(token):
def render_math(self,token):
self.packages['amsmath']=[]
self.packages['amsfonts']=[]
self.packages['amssymb']=[]
return token.content

def render_escape_sequence(self, token):
Expand Down

0 comments on commit 23ff1b7

Please sign in to comment.