Actually v6
This commit is contained in:
parent
88516c780c
commit
cc7fbbcdca
4 changed files with 28 additions and 37 deletions
|
@ -7,8 +7,8 @@
|
|||
$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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@include('includes.head-hljs')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@include('includes.head')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue