Skip to content

Commit 30ee437

Browse files
committed
Add note about vendors and highlight.js
1 parent 574c1c2 commit 30ee437

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ Note: The public assets can change overtime (because of upstream changes), it is
5555
],
5656

5757
The profiler is enabled by default, if you have app.debug=true. You can override that in the config files.
58-
You can also set in your config if you want to include the vendor files also (FontAwesome and jQuery). If you already use them in your site, set it to false.
59-
You can also only display the js of css vendors, by setting it to 'js' or 'css'.
58+
You can also set in your config if you want to include/exclude the vendor files also (FontAwesome, Highlight.js and jQuery). If you already use them in your site, set it to false.
59+
You can also only display the js of css vendors, by setting it to 'js' or 'css'. (Highlight.js requires both css + js, so set to `true` for syntax highlighting)
6060

6161
$ php artisan config:publish barryvdh/laravel-debugbar
6262

src/config/config.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
|
3838
| Vendor files are included by default, but can be set to false.
3939
| This can also be set to 'js' or 'css', to only include javascript or css vendor files.
40-
| Vendor files are for css: font-awesome (including fonts) and for js: jquery 1.8.3
40+
| Vendor files are for css: font-awesome (including fonts) and highlight.js (css files)
41+
| and for js: jquery and and highlight.js
42+
| So if you want syntax highlighting, set it to true.
43+
| jQuery is set to not conflict with existing jQuery scripts.
4144
|
4245
*/
4346

0 commit comments

Comments
 (0)