Skip to content

Commit

Permalink
Sphinx: Render math to SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Aug 18, 2024
1 parent 500ca80 commit f6994b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"sphinx.ext.imgmath",
"sphinx.ext.todo",
"sphinx.ext.graphviz",
"sphinxcontrib.rsvgconverter",
Expand All @@ -39,6 +40,9 @@
"notfound.extension",
]

# Rendering math formulas into SVG images
imgmath_image_format = "svg"

todo_include_todos = True

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit f6994b8

Please sign in to comment.