I use Microsoft Powertoys'
File Explorer add on to change the way Preview Pane shows stl and source code files. I am able to successfully change the stl previews by enabling Configuration->Shell Integration->64 bit preview handlers. I would like to make use of the code beautifying text preview too but it seems for XYplorer the existing handler is overriding as shown below.
I am on the trial version; 22.80.0104 of XYplorer