From 4e124605c2a19a806bc6ba24598d4ae9976312c8 Mon Sep 17 00:00:00 2001 From: Joerg Kreuzberger Date: Fri, 30 Jun 2023 10:29:03 +0200 Subject: [PATCH] [#8] Latex equations rendered in demo --- demo/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo/conf.py b/demo/conf.py index 593ed26..557aafb 100644 --- a/demo/conf.py +++ b/demo/conf.py @@ -26,6 +26,8 @@ 'sphinxcontrib.plantuml', 'sphinx_needs', 'sphinx.ext.autodoc', + 'sphinx.ext.imgmath', + ] version = "1.0" # Will not be raised @@ -74,6 +76,7 @@ local_plantuml_path = os.path.join(os.path.dirname(__file__), "../", "docs", "utils", "plantuml.jar") plantuml = f"java -Djava.awt.headless=true -jar {local_plantuml_path}" +imgmath_image_format = 'svg' def setup_jquery(app, exception): """