liaoch commited on
Commit
1e44066
·
1 Parent(s): 44531ec

Fix: Remove unsupported --args option from mmdc command for compatibility

Browse files
Files changed (1) hide show
  1. mermaid_renderer.py +0 -1
mermaid_renderer.py CHANGED
@@ -102,7 +102,6 @@ class MermaidRenderer:
102
  "-i", input_path,
103
  "-o", output_path,
104
  "-t", theme,
105
- "--args", puppeteer_args_json_str,
106
  # No -f flag needed for mmdc, format is determined by -o extension
107
  # However, explicitly setting background color might be needed for transparency
108
  # "-b", "transparent" # Example: if you want transparent background for PNG/SVG
 
102
  "-i", input_path,
103
  "-o", output_path,
104
  "-t", theme,
 
105
  # No -f flag needed for mmdc, format is determined by -o extension
106
  # However, explicitly setting background color might be needed for transparency
107
  # "-b", "transparent" # Example: if you want transparent background for PNG/SVG