Extended sharing preview for text files

Hello everyone!

Is there any possibility to display shared text (over share url) in editor? Sharing PHP/JS files only allow to download them, without actually seeing them, where in “admin-mode” it can be displayed with syntax-highlighting. Is is possible to turn on same for shared?

Using Nextcloud 11.