diff options
Diffstat (limited to 'resources/views/components')
-rw-r--r-- | resources/views/components/codeblock.blade.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/components/codeblock.blade.php b/resources/views/components/codeblock.blade.php index 8dcebda..3d3594f 100644 --- a/resources/views/components/codeblock.blade.php +++ b/resources/views/components/codeblock.blade.php @@ -7,8 +7,8 @@ $hl = new \Highlight\Highlighter(); $highlighted = $hl->highlight($lang, Storage::disk('local')->get($file_path)); $file_size = Storage::disk('local')->size($file_path); @endphp -<div class="codeblock"><pre> +<div class="codeblock"> <h1>{{ $file_name }} <small>{{ $file_size}} bytes</small></h1> <hr> <code class="hljs {{$highlighted->language}}">{!! $highlighted->value !!}</code> -</pre></div> +</div> |