mirror of
https://github.com/jacobinwwey/obsidian-NotEMD.git
synced 2026-07-22 05:48:27 +00:00
1.6.1 mermaid fix note for readme
This commit is contained in:
parent
f08f9ee165
commit
8f3e874335
2 changed files with 4 additions and 3 deletions
|
|
@ -128,9 +128,9 @@ That's it! Explore the settings to unlock more features like web research, trans
|
|||
- **Duplicate Label Fix**: Simplifies repeated bracketed labels (e.g., `Node["Label"]["Label"]` -> `Node["Label"]`).
|
||||
- **Invalid Arrow Fix**: Converts invalid arrow syntax `--|>` to the standard `-->`.
|
||||
- **Advanced Fix Mode**: Includes robust fixes for unquoted node labels containing spaces, special characters, or nested brackets (e.g., `Node[Label [Text]]` -> `Node["Label [Text]"]`), ensuring compatibility with complex diagrams like Stellar Evolution paths. Also corrects malformed edge labels (e.g., `--["Label["-->` to `-- "Label" -->`). Additionally converts inline comments (`Consensus --> Adaptive; # Some advanced consensus` to `Consensus -- "Some advanced consensus" --> Adaptive`) and fixes incomplete quotes at line ends (`;"` at the end replaced with `"]`).
|
||||
- **Note Conversion**: Automatically converts `note right/left of` and standalone `note :` comments into standard Mermaid node definitions and connections (e.g., `note right of A: text` becomes `NoteA["Note: text"]` linked to `A`), preventing syntax errors and improving layout. Now supports both arrow links (`-->`) and solid links (`---`).
|
||||
- **Enhanced Note Correction**: Automatically renames notes with sequential numbering (e.g., `Note1`, `Note2`) to prevent aliasing issues when multiple notes are present.
|
||||
- **Parallelogram/Shape Fix**: Corrects malformed node shapes like `[/["Label["/]` to standard `["Label"]`, ensuring compatibility with generated content.
|
||||
- **Note Conversion**: Automatically converts `note right/left of` and standalone `note :` comments into standard Mermaid node definitions and connections (e.g., `note right of A: text` becomes `NoteA["Note: text"]` linked to `A`), preventing syntax errors and improving layout. Now supports both arrow links (`-->`) and solid links (`---`).
|
||||
- **Extended Note Support**: Automatically converts `note for Node "Content"` and `note of Node "Content"` into standard linked note nodes (e.g. `NoteNode[" Content"]` linked to `Node`), ensuring compatibility with user-extended syntax.
|
||||
- **Enhanced Note Correction**: Automatically renames notes with sequential numbering (e.g., `Note1`, `Note2`) to prevent aliasing issues when multiple notes are present. - **Parallelogram/Shape Fix**: Corrects malformed node shapes like `[/["Label["/]` to standard `["Label"]`, ensuring compatibility with generated content.
|
||||
- **Standardize Pipe Labels**: Automatically fixes and standardizes edge labels containing pipes, ensuring they are properly quoted (e.g., `-->|Text|` becomes `-->|"Text"|` and `-->|Math|^2|` becomes `-->|"Math|^2"|`).
|
||||
- **Misplaced Pipe Fix**: Corrects misplaced edge labels appearing before the arrow (e.g., `>|"Label"| A --> B` becomes `A -->|"Label"| B`).
|
||||
- **Merge Double Labels**: Detects and merges complex double labels on a single edge (e.g., `A -- Label1 -- Label2 --> B` or `A -- Label1 -- Label2 --- B`) into a single, clean label with line breaks (`A -- "Label1<br>Label2" --> B`).
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ Notemd 通过与各种大型语言模型 (LLM) 集成来增强您的 Obsidian
|
|||
- **无效箭头修复**: 将无效的箭头语法 `--|>` 转换为标准的 `-->`。
|
||||
- **高级修复模式**: 包含针对包含空格、特殊字符或嵌套括号的未加引号节点标签的稳健修复(例如,将 `Node[标签 [文本]]` 转换为 `Node["标签 [文本]"]`)。
|
||||
- **注释转换**: 自动将 `note right/left of` 以及独立的 `note :` 注释转换为标准的 Mermaid 节点定义和连接(例如,将 `note right of A: text` 转换为 `NoteA["Note: text"]` 并连接到 `A`),防止语法错误并改善布局。
|
||||
- **扩展注释支持**: 自动将 `note for Node "Content"` 和 `note of Node "Content"` 转换为标准的链接注释节点(例如 `NoteNode[" Content"]` 连接到 `Node`),确保与用户扩展语法的兼容性。
|
||||
- **增强的注释修正**: 自动使用顺序编号(如 `Note1`, `Note2`)重命名注释,以防止存在多个注释时出现别名问题。
|
||||
- **平行四边形/形状修复**: 修正畸形的节点形状定义,如将 `[/["标签["/]` 转换为标准的 `["标签"]`,确保与生成内容的兼容性。
|
||||
- **标准化管道标签**: 自动修复和标准化包含管道符的连接线标签,确保它们被正确引用(例如,将 `-->|文本|` 转换为 `-->|"文本"|`)。
|
||||
|
|
|
|||
Loading…
Reference in a new issue