feat: render comments in LaTeX

This commit is contained in:
Tim Grelka
2025-02-16 17:53:03 +01:00
parent 38635a7abd
commit fe7ded0278
3 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class FiftyOhmLaTeXRenderer(LaTeXRenderer):
return " -- "
def render_block_comment(self, token):
return "" # TODO propagate comments to the LaTeX document
return f"% {token.content}"
def render_quote(self, token):
return rf"\enquote{{{self.render_inner(token)}}}"