From 0cd22cf82b5b056842df834f641e346dac8e4267 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Mon, 22 Jan 2024 01:18:12 +0000 Subject: Remove unused HLJS code and unnecessary components --- resources/views/components/codeblock.blade.php | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 resources/views/components/codeblock.blade.php (limited to 'resources/views/components/codeblock.blade.php') diff --git a/resources/views/components/codeblock.blade.php b/resources/views/components/codeblock.blade.php deleted file mode 100644 index ff7c2a5..0000000 --- a/resources/views/components/codeblock.blade.php +++ /dev/null @@ -1,14 +0,0 @@ -@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 !!} -
-- cgit v1.2.3-54-g00ecf