Skip to content

Added new outputType called 'svg_file', and 'file' changed to 'png_file' for better clarity#30

Open
jagadeesh52423 wants to merge 3 commits intohustcc:mainfrom
jagadeesh52423:main
Open

Added new outputType called 'svg_file', and 'file' changed to 'png_file' for better clarity#30
jagadeesh52423 wants to merge 3 commits intohustcc:mainfrom
jagadeesh52423:main

Conversation

@jagadeesh52423
Copy link

No description provided.

@hustcc
Copy link
Owner

hustcc commented Dec 15, 2025

help to fix the ci, and upgrade the version to 0.5.0, it is a break change.

Jagadeesh Pulamarasetti and others added 2 commits December 16, 2025 09:12
- Rename 'file' output type to 'png_file' for clarity
- Add new 'svg_file' output type for saving SVG files to disk
- Remove 'format' parameter as it's no longer needed with dedicated output types
- Update README documentation to reflect new output types
- Now supports 7 output types: base64, svg, mermaid, png_file, svg_file, svg_url, png_url

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
- Combine png_file and svg_file logic into single block (similar to svg_url/png_url)
- Use shared variables (isSvg, ext, typeName, content) to reduce duplication
- Bump version to 0.5.0 for breaking change
- Update test expectations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jagadeesh52423
Copy link
Author

help to fix the ci, and upgrade the version to 0.5.0, it is a break change.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants