Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit d727e83

Browse files
committed
Update app.blade.php layout with code highlight cdn
1 parent a038750 commit d727e83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/layouts/app.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
@yield('meta')
3535
<!-- Styles -->
3636
@yield('css')
37+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
3738
<link href="{{ Asset::path('application.css') }}" rel="stylesheet" type="text/css">
3839
<!-- Favicon -->
3940
<link rel="apple-touch-icon" href="{{ asset('img/favicons/apple-touch-icon.png') }}" sizes="180x180">
@@ -178,7 +179,9 @@ function gtag(){dataLayer.push(arguments);}
178179
</footer>
179180

180181
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
182+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
181183
<script src="{{ Asset::path('application.js') }}"></script>
184+
<script>hljs.initHighlightingOnLoad();</script>
182185
@yield('js')
183186
@stack('scripts')
184187
</body>

0 commit comments

Comments
 (0)