support diagram plotting via mermaid !

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

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