Remove the square brackets around backlinks in the sidepane

What I’m trying to do

I’m trying to change the look of how the backlinks look in the side pane. I would like to increase the font size, change the color and remove the square brackets around the backlink.

Things I have tried

I went into developer mode and tried to identify the element. I found two classes:

search-result-file-match
search-result-file-matched-text

It was trivial to create a snippet and change the font size and color for these classes.

However, would it also be possible to remove the leading [[ and trailing ]] from the actual backlink?

I looked online whether it would be possible to do it with CSS, but haven’t found anything yet. It would be possible with Javascript, but I don’t know if that can be used in the snippet.