How to customize the comparison results of diffEditor

Hi all I need to customize the results of a text comparison.
I found that monaco editor supports using diffAlgorithm and IDocumentDiffProvider to achieve this functionality, but I don’t know how to use it in theia