This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://claude.ai/chat/51ee6f6b-2083-4d56-86ad-add6a039ca1c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This patch adds AsciiDoc support to mermaid-cli, allowing it to process Mermaid diagrams in AsciiDoc files. | |
| Features: | |
| - Supports both [.mermaid] block and ```mermaid code block syntaxes | |
| - Generates numbered image files (SVG/PNG/PDF) | |
| - Replaces diagrams with proper AsciiDoc image syntax | |
| - Maintains compatibility with existing Markdown processing | |
| - Minimal changes to the original codebase | |
| Example: |