This commit is contained in:
RunasSudo 2019-12-15 14:08:13 +11:00
parent e08f43001a
commit 541183ddfa
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -157,7 +157,7 @@ class LaTeXRenderer(mistletoe.latex_renderer.LaTeXRenderer):
def render_definition(self, token):
self.heading_last = False
return format(r'\N{\par\leftskip=\dimexpr<lmarg>+<level>cm\relax\relax\hangindent=1cm <content>\par}\N',
return format(r'\N{\par\leftskip=\dimexpr<lmarg>+<level>cm\relax\hangindent=1cm <content>\par}\N',
level=token.level,
content=self.render_inner(token)
)