Skip to content

Commit

Permalink
add support for equation rendering in html rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Krande committed Jan 11, 2024
1 parent 1e972ed commit c3410f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/paradoc/io/html/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def export(self, dest_file):
styled_html = f"""<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.1.2/es5/tex-mml-chtml.js">
</script>
</head>
<body>
{html_str}
Expand Down

0 comments on commit c3410f4

Please sign in to comment.