Output diffs in git unified format?
Hey, thanks for this package!
I wanted to use the diff2html library, using this package to create diffs. But looks like that library doesn't support the json format. Is it possible to convert json format into the unified format?
Sorry for not responding for so long.
But looks like that library doesn't support the json format.
No doesnt look like it. I would be surprised if the output of vscode-diff adheared to any standard. This is an internal API in vscode source, so the format is internal also.
Is it possible to convert json format into the unified format?
I dont see why not. I like the idea of vscode-diff having different output format "adapters" for the DiffComputer. It could be something that lives on-top of the code we extract from vscode.
I'm keeping this issue open without any particular time-plan. I would be happy for contributions from anyone who needs this.