As far as I know panics abort instead of unwinding in three cases:
- When a panic happens during panic unwinding
- When the application (not the dependency!) sets panics to abort in Cargo.toml
- When the target doesn't support unwinding.
Which of those is the case for the desktop app described by the parent?
Are you planning to support more of mermaids features?
I tried one example where this could be useful to me - Mermaids gitGraph - and it looks like it's not supported.
Did you read the article? It shows a lot of examples when no specific names are mentioned, or even with very generic prompts producing copyrighted material.