@php $file_path = "code/".$file; $file_name = basename($file_path); $hl = new \Highlight\Highlighter(); $highlighted = $hl->highlight($lang, Storage::disk('local')->get($file_path)); $file_size = Storage::disk('local')->size($file_path); @endphp
    

{{ $file_name }} {{ $file_size}} bytes


{!! $highlighted->value !!}