support diagram plotting via mermaid !

This commit is contained in:
binary-husky committed 2024-01-15 02:49:21 +08:00
1 parent a2099f1622
commit 71adc40901
8 files changed
+1825 -8

No files matched your search

+16 -2
View File
@@ -14,10 +14,24 @@ for filename in os.listdir(directory):
```
Replace 'Tex/' with the actual directory path where your files are located before running the script.
"""
md = """
Following code including wrapper
```mermaid
graph TD
A[Enter Chart Definition] --> B(Preview)
B --> C{decide}
C --> D[Keep]
C --> E[Edit Definition]
E --> B
D --> F[Save Image and Code]
F --> B
```
"""
def validate_path():
import os, sys