liaoch commited on
Commit
fcdf166
·
1 Parent(s): e0c0f79

Fix mermaid-cli command structure: Remove redundant 'mmdc' argument

Browse files
Files changed (1) hide show
  1. mermaid_renderer.py +1 -1
mermaid_renderer.py CHANGED
@@ -70,7 +70,7 @@ class MermaidRenderer:
70
  temp_input_file.close() # Close file before passing to subprocess
71
 
72
  cmd = [
73
- "npx", "@mermaid-js/mermaid-cli", "mmdc",
74
  "-i", input_path,
75
  "-o", output_path,
76
  "-t", theme,
 
70
  temp_input_file.close() # Close file before passing to subprocess
71
 
72
  cmd = [
73
+ "npx", "@mermaid-js/mermaid-cli",
74
  "-i", input_path,
75
  "-o", output_path,
76
  "-t", theme,