Added prismjs support.

This commit is contained in:
Leonid Nikitin 2024-05-17 21:06:12 +05:00
parent 45504791c0
commit 21026cdf52
Signed by: kor-elf
GPG Key ID: 3C0F720C170F6E1D

View File

@ -2,10 +2,14 @@
@section('h1', $content->title) @section('h1', $content->title)
<x-site.layout :project="$project" :websiteTranslations="$websiteTranslations"> <x-site.layout :project="$project" :websiteTranslations="$websiteTranslations">
{!! $content->description !!} <div class="line-numbers">{!! $content->description !!}</div>
<hr> <hr>
@foreach($links as $link) @foreach($links as $link)
<p><a href="{{ $link->link }}" rel=“nofollow” target="_blank">{{ $link->title }}</a></p> <p><a href="{{ $link->link }}" rel=“nofollow” target="_blank">{{ $link->title }}</a></p>
@endforeach @endforeach
@push('scripts')
@include('_prism')
@endpush
</x-site.layout> </x-site.layout>