sugurutakahashi-1234/mermaid-markdown-wrap
Convert plain .mmd Mermaid files to Markdown by wrapping them with mermaid code blocks
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| input | File path or glob pattern for .mmd/.mermaid files (e.g. 'diagram.mmd', 'src/**/*.{mmd,mermaid}') | yes | — |
| out-dir | Output directory | no | — |
| header | Header text to prepend | no | — |
| footer | Footer text to append | no | — |
| remove-source | Remove original .mmd files after conversion (default: false) | no | — |
| hide-command | Hide the command used in the output (default: false) | no | — |
| config | Config file path | no | — |
| pr-comment-mode | PR comment mode: 'off' (no comments), 'changed' (only for changed source files), or 'all' (all files generated in this run) | no | off |
| pr-comment-header | Show header in PR comments (true/false) | no | true |
| pr-comment-details | Use collapsible details for PR comments (true/false) | no | false |
| pr-comment-dry-run | Dry-run mode for PR comments - show what would be posted without actually posting (true/false) | no | false |
| local-test | Local test mode - use current source code instead of published npm package (true/false) | no | false |
| github-token | GitHub token for PR comments (defaults to github.token) | no | ${{ github.token }} |
Outputs
no outputs