Spaces:
Sleeping
Sleeping
Fix mermaid-cli command structure: Remove redundant 'mmdc' argument
Browse files- 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",
|
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,
|