Commits

Anonymous committed c8afe7b

Added optional args argument. Could be used someday for optional LaTeX packages or other parameters.

  • Participants
  • Parent commits 257ff31
  • Tags 0.5

Comments (0)

Files changed (1)

tracmath/tracmath.py

             `$[latex formula]$` for inline math or `$$[latex formula]$$` for
             display math.
             """
-    def expand_macro(self, formatter, name, content):
+    def expand_macro(self, formatter, name, content, args=None):
         errmsg = self._load_config()
         if errmsg:
             return self._show_err(errmsg)